Skip to content

Commit

Permalink
fix: Table props (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan authored Jul 5, 2021
1 parent d7511ab commit 67b6f27
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/fuselage/src/components/Table/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ import { ComponentProps, ForwardRefExoticComponent } from 'react';

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

type TableProps = ComponentProps<typeof Box>;
type TableProps = ComponentProps<typeof Box> & {
striped?: boolean;
sticky?: boolean;
fixed?: boolean;
};
type TableHeadProps = ComponentProps<typeof Box>;
type TableBodyProps = ComponentProps<typeof Box>;
type TableRowProps = Omit<ComponentProps<typeof Box>, 'action'> & {
Expand Down

0 comments on commit 67b6f27

Please sign in to comment.