File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export interface InterfaceButtonProps
63
63
/**
64
64
* The size of the button.
65
65
*/
66
- size ?: ThemeComponentSizeType < 'Button' > | number ;
66
+ size ?: ThemeComponentSizeType < 'Button' > ;
67
67
// size?: SizeType;
68
68
/**
69
69
* The start icon element to use in the button.
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export type SizeType = ResponsiveValue<
21
21
export type ThemeComponentSizeType <
22
22
Component extends keyof ITheme [ 'components' ]
23
23
> = 'sizes' extends keyof ITheme [ 'components' ] [ Component ]
24
- ? keyof ITheme [ 'components' ] [ Component ] [ 'sizes' ] | ( string & { } )
24
+ ? keyof ITheme [ 'components' ] [ Component ] [ 'sizes' ] | ( string & { } ) | number
25
25
: never ;
26
26
27
27
export type CombinedSizeType < Component extends keyof ITheme [ 'components' ] > =
You can’t perform that action at this time.
0 commit comments