@@ -78,43 +78,43 @@ export interface ICheckboxProps extends IBoxProps<ICheckboxProps> {
78
78
/**
79
79
* Passed props wilICheckboxGroupPropsl be applied on disabled state.
80
80
*/
81
- _disabled ?: Omit < ICheckboxProps , '_disabled' > ;
81
+ _disabled ?: Omit < Partial < ICheckboxProps > , '_disabled' > ;
82
82
/**
83
83
* Passed props will be applied on checked state.
84
84
*/
85
- _checked ?: Omit < ICheckboxProps , '_checked' > ;
85
+ _checked ?: Omit < Partial < ICheckboxProps > , '_checked' > ;
86
86
/**
87
87
* Passed props will be applied on unchecked state.
88
88
*/
89
- _unchecked ?: Omit < ICheckboxProps , '_unchecked' > ;
89
+ _unchecked ?: Omit < Partial < ICheckboxProps > , '_unchecked' > ;
90
90
/**
91
91
* Passed props will be applied on focus state.
92
92
*/
93
- _focus ?: Omit < ICheckboxProps , '_focus' > ;
93
+ _focus ?: Omit < Partial < ICheckboxProps > , '_focus' > ;
94
94
/**
95
95
* Passed props will be applied on hover state.
96
96
*/
97
- _hover ?: Omit < ICheckboxProps , '_hover' > ;
97
+ _hover ?: Omit < Partial < ICheckboxProps > , '_hover' > ;
98
98
/**
99
99
* Passed props will be applied on invalid state.
100
100
*/
101
- _invalid ?: Omit < ICheckboxProps , '_invalid' > ;
101
+ _invalid ?: Omit < Partial < ICheckboxProps > , '_invalid' > ;
102
102
/**
103
103
* Passed props will be applied on pressed state on native.
104
104
*/
105
- _pressed ?: Omit < ICheckboxProps , '_pressed' > ;
105
+ _pressed ?: Omit < Partial < ICheckboxProps > , '_pressed' > ;
106
106
/**
107
107
* Passed props will be applied on readonly state.
108
108
*/
109
- _readOnly ?: Omit < ICheckboxProps , '_readOnly' > ;
109
+ _readOnly ?: Omit < Partial < ICheckboxProps > , '_readOnly' > ;
110
110
/**
111
111
* Icon related props can be passed in _icon.
112
112
*/
113
113
_icon ?: IIconProps ;
114
114
/**
115
115
* You can style interaction box around the checkbox using this.
116
116
*/
117
- _interactionBox ?: Omit < ICheckboxProps , '_interactionBox' > ;
117
+ _interactionBox ?: Omit < Partial < ICheckboxProps > , '_interactionBox' > ;
118
118
/**
119
119
* Function called when the state of the checkbox changes.
120
120
*/
0 commit comments