Skip to content

Commit

Permalink
fix: Add more props to Throbber type definition (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan authored Apr 14, 2021
1 parent dcf43c2 commit 2516d42
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/fuselage/fuselage.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,11 @@ declare module '@rocket.chat/fuselage' {
type TileProps = BoxProps;
export const Tile: ForwardRefExoticComponent<TileProps>;

type ThrobberProps = Omit<BoxProps, 'size'> & {
size?: BoxProps['width'];
type ThrobberProps = Omit<BoxProps, 'disabled' | 'size'> & {
circleCount?: number;
disabled?: boolean;
inheritColor?: boolean;
size?: BoxProps['width'];
};
export const Throbber: ForwardRefExoticComponent<ThrobberProps>;

Expand Down

0 comments on commit 2516d42

Please sign in to comment.