-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
97 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
import { cn } from '@/lib/utils' | ||
import { Tabs as TabsComponent } from '../tabs' | ||
const { class: className, ...rest } = Astro.props | ||
--- | ||
|
||
<TabsComponent class={cn('relative mt-6 w-full', className)} {...rest}> | ||
<slot /> | ||
</TabsComponent> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
import { cn } from '@/lib/utils' | ||
import { TabsContent as TabsComponent } from '../tabs' | ||
const { class: className, ...rest } = Astro.props | ||
--- | ||
|
||
<TabsComponent | ||
class={cn('relative [&_h3.font-heading]:text-base [&_h3.font-heading]:font-semibold', className)} | ||
{...rest} | ||
> | ||
<slot /> | ||
</TabsComponent> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
import { cn } from '@/lib/utils' | ||
import { TabsList as TabsComponent } from '../tabs' | ||
const { class: className, ...rest } = Astro.props | ||
--- | ||
|
||
<TabsComponent class={cn('w-full justify-start rounded-none border-b bg-transparent p-0', className)} {...rest}> | ||
<slot /> | ||
</TabsComponent> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
import { cn } from '@/lib/utils' | ||
import { TabsTrigger as TabsComponent } from '../tabs' | ||
const { class: className, ...rest } = Astro.props | ||
--- | ||
|
||
<TabsComponent | ||
class={cn( | ||
'relative h-9 rounded-none border-b-2 border-b-transparent bg-transparent px-4 pb-3 pt-2 font-semibold text-muted-foreground shadow-none transition-none data-[state=active]:border-b-primary data-[state=active]:text-foreground data-[state=active]:shadow-none', | ||
className, | ||
)} | ||
{...rest} | ||
> | ||
<slot /> | ||
</TabsComponent> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters