Skip to content

Commit

Permalink
Merge pull request #1905 from adevinta/upd-tabslist-typing
Browse files Browse the repository at this point in the history
refactor(tabs): improve Tabs List types
  • Loading branch information
soykje authored Feb 21, 2024
2 parents 4424b37 + 38bf57c commit 2ed8556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/tabs/src/TabsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface TabsListProps extends Omit<RadixTabs.TabsListProps, 'children'>
* @default false
*/
loop?: boolean
children: ReactElement[]
children: ReactElement[] | ReactElement
}

type ArrowState = 'visible' | 'hidden' | 'disabled'
Expand Down

0 comments on commit 2ed8556

Please sign in to comment.