@@ -31,26 +31,26 @@ export interface IFormControlLabelProps extends IFormControlProps {
31
31
/**
32
32
* Passed props will be applied on disabled state.
33
33
*/
34
- _disabled ?: IBoxProps < IFormControlLabelProps > ;
34
+ _disabled ?: Partial < IBoxProps < IFormControlLabelProps > > ;
35
35
// _focus?: any;
36
36
/**
37
37
* Passed props will be applied on invalid state.
38
38
*/
39
- _invalid ?: IBoxProps < IFormControlLabelProps > ;
39
+ _invalid ?: Partial < IBoxProps < IFormControlLabelProps > > ;
40
40
/**
41
41
* Reflects the value of the 'for' content property.
42
42
*/
43
43
htmlFor ?: string ;
44
44
/**
45
45
* Props applied to astrick text
46
46
*/
47
- _astrick ?: ITextProps ;
47
+ _astrick ?: Partial < ITextProps > ;
48
48
}
49
49
export interface IFormControlErrorMessageProps extends IFormControlProps {
50
50
/**
51
51
* Passed props will be applied on disabled state.
52
52
*/
53
- _disabled ?: IBoxProps < IFormControlLabelProps > ;
53
+ _disabled ?: Partial < IBoxProps < IFormControlLabelProps > > ;
54
54
/**
55
55
* The right icon element to use in the FormControl.ErrorMessage.
56
56
*/
@@ -70,18 +70,18 @@ export interface IFormControlErrorMessageProps extends IFormControlProps {
70
70
/**
71
71
* Props to be passed to the HStack used inside of FormControl.ErrorMessage.
72
72
*/
73
- _stack ?: IStackProps ;
73
+ _stack ?: Partial < IStackProps > ;
74
74
}
75
75
export interface IFormControlHelperTextProps extends IFormControlProps {
76
76
/**
77
77
* Passed props will be applied on disabled state.
78
78
*/
79
- _disabled ?: IBoxProps < IFormControlLabelProps > ;
79
+ _disabled ?: Partial < IBoxProps < IFormControlLabelProps > > ;
80
80
// _focus?: any;
81
81
/**
82
82
* Passed props will be applied on invalid state.
83
83
*/
84
- _invalid ?: IBoxProps < IFormControlLabelProps > ;
84
+ _invalid ?: Partial < IBoxProps < IFormControlLabelProps > > ;
85
85
}
86
86
87
87
export type FormControlComponentType = ( (
0 commit comments