Skip to content

Commit

Permalink
fix: Add Tab.Item definition (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Jul 21, 2021
1 parent e32ea7c commit 9a7f3d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/fuselage/src/components/Tabs/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import { Box } from '../Box';

type TabsProps = ComponentProps<typeof Box>;

export const Tabs: ForwardRefExoticComponent<TabsProps>;
export const Tabs: ForwardRefExoticComponent<TabsProps> & {
Item: ForwardRefExoticComponent<TabsItemProps>;
};

type TabsItemProps = ComponentProps<typeof Box> & {
selected?: boolean;
Expand Down

0 comments on commit 9a7f3d5

Please sign in to comment.