File tree Expand file tree Collapse file tree
packages/core/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,15 +41,14 @@ import { Tabs } from "@tailor-platform/app-shell";
4141
4242### Tabs.Root Props
4343
44- | Prop | Type | Default | Description |
45- | --------------- | ---------------------------- | -------------- | --------------------------------------- |
46- | ` defaultValue ` | ` Tabs.Tab.Value ` | ` 0 ` | Initial active tab value (uncontrolled) |
47- | ` value ` | ` Tabs.Tab.Value ` | - | Controlled active tab value |
48- | ` onValueChange ` | ` (value: any) => void ` | - | Callback when the active tab changes |
49- | ` orientation ` | ` 'horizontal' \| 'vertical' ` | ` 'horizontal' ` | Orientation of the tabs |
50- | ` variant ` | ` 'default' \| 'line' ` | ` 'default' ` | Visual style of the tabs |
51- | ` className ` | ` string ` | - | Additional CSS classes for root |
52- | ` children ` | ` React.ReactNode ` | - | Tabs sub-components |
44+ | Prop | Type | Default | Description |
45+ | --------------- | ---------------------- | ----------- | --------------------------------------- |
46+ | ` defaultValue ` | ` Tabs.Tab.Value ` | ` 0 ` | Initial active tab value (uncontrolled) |
47+ | ` value ` | ` Tabs.Tab.Value ` | - | Controlled active tab value |
48+ | ` onValueChange ` | ` (value: any) => void ` | - | Callback when the active tab changes |
49+ | ` variant ` | ` 'default' \| 'line' ` | ` 'default' ` | Visual style of the tabs |
50+ | ` className ` | ` string ` | - | Additional CSS classes for root |
51+ | ` children ` | ` React.ReactNode ` | - | Tabs sub-components |
5352
5453### Tabs.List Props
5554
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const TabsVariantContext = React.createContext<TabsVariant>("default");
1212// don't leak as breaking changes to consumers.
1313type RootProps = Pick <
1414 React . ComponentProps < typeof BaseTabs . Root > ,
15- "defaultValue" | "value" | "onValueChange" | "orientation"
15+ "defaultValue" | "value" | "onValueChange"
1616> & {
1717 children : React . ReactNode ;
1818 className ?: string ;
You can’t perform that action at this time.
0 commit comments