Skip to content

Commit

Permalink
fix: Missing Sidebar type (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
dougfabris committed Jul 30, 2021
1 parent 2c5c6d1 commit 431a5be
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/fuselage/src/components/Sidebar/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { ComponentProps, ForwardRefExoticComponent } from 'react';

import { Box } from '../Box';

type SidebarProps = ComponentProps<typeof Box>;
type SidebarTopBarProps = ComponentProps<typeof Box>;
type SidebarItemProps = ComponentProps<typeof Box>;
type SidebarSectionProps = ComponentProps<typeof Box>;

export const Sidebar: ForwardRefExoticComponent<SidebarProps> & {
TopBar: ForwardRefExoticComponent<SidebarTopBarProps>;
Item: ForwardRefExoticComponent<SidebarItemProps>;
Section: ForwardRefExoticComponent<SidebarSectionProps>;
};

0 comments on commit 431a5be

Please sign in to comment.