From baf1112375b28a04917499f95a370e59b078197a Mon Sep 17 00:00:00 2001 From: Petro Silenius Date: Fri, 4 Feb 2022 08:37:42 +0200 Subject: [PATCH] Make children props optional in Button.tsx --- src/components/Button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 24d765ff7..6f4ba4ca4 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -5,7 +5,7 @@ const containedBoxShadow = export interface ButtonProps extends Omit { chunky?: boolean; - children: MuiButtonProps['children'] & { $$typeof?: symbol; props: any }; + children: MuiButtonProps['children'] & { $$typeof?: symbol; props?: any }; color?: 'primary' | 'secondary' | 'inherit'; 'data-testid'?: string; }