@@ -104,27 +104,27 @@ export interface InterfaceButtonProps
104
104
/**
105
105
* Props to be passed to the button when isLoading is true.
106
106
*/
107
- _loading ?: Omit < IButtonProps , '_loading' > ;
107
+ _loading ?: Omit < Partial < IButtonProps > , '_loading' > ;
108
108
/**
109
109
* Props to be passed to the button when button is disabled.
110
110
*/
111
- _disabled ?: Omit < IButtonProps , '_disable' > ;
111
+ _disabled ?: Omit < Partial < IButtonProps > , '_disable' > ;
112
112
/**
113
113
* Props to be passed to the spinner when isLoading is true.
114
114
*/
115
- _spinner ?: ISpinnerProps ;
115
+ _spinner ?: Partial < ISpinnerProps > ;
116
116
/**
117
117
* Props to be passed to the button when button is hovered.
118
118
*/
119
- _hover ?: Omit < IButtonProps , '_hover' > ;
119
+ _hover ?: Omit < Partial < IButtonProps > , '_hover' > ;
120
120
/**
121
121
* Props to be passed to the button when button is pressed.
122
122
*/
123
- _pressed ?: Omit < IButtonProps , '_pressed' > ;
123
+ _pressed ?: Omit < Partial < IButtonProps > , '_pressed' > ;
124
124
/**
125
125
* Props to be passed to the button when button is focused.
126
126
*/
127
- _focus ?: Omit < IButtonProps , '_focus' > ;
127
+ _focus ?: Omit < Partial < IButtonProps > , '_focus' > ;
128
128
/**
129
129
* The right icon element to use in the button.
130
130
*/
0 commit comments