Skip to content

Commit

Permalink
Fix TS errors on tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Aug 21, 2024
1 parent 1a75319 commit 95e4fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabric/src/components/Tabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Text } from '../Text'
export type TabsProps = {
selectedIndex: number
onChange?: (index: number) => void
children: (React.ReactElement<TabsItemProps> | string | boolean | null | undefined)[]
children: (React.ReactElement<TabsItemPrivateProps> | string | boolean | null | undefined)[]
}

export function Tabs({ selectedIndex, onChange, children }: TabsProps) {
Expand Down

0 comments on commit 95e4fae

Please sign in to comment.