Skip to content

Commit

Permalink
Make children props optional in Button.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Petro Silenius committed Feb 4, 2022
1 parent f1d2ce5 commit baf1112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const containedBoxShadow =

export interface ButtonProps extends Omit<MuiButtonProps, 'size'> {
chunky?: boolean;
children: MuiButtonProps['children'] & { $$typeof?: symbol; props: any };
children: MuiButtonProps['children'] & { $$typeof?: symbol; props?: any };
color?: 'primary' | 'secondary' | 'inherit';
'data-testid'?: string;
}
Expand Down

0 comments on commit baf1112

Please sign in to comment.