File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
components/primitives/Input Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -81,23 +81,23 @@ export interface InterfaceInputProps
81
81
/**
82
82
* Passed props will be applied on hovered state.
83
83
*/
84
- _hover ?: Omit < Partial < IInputProps > , '_hover' > ;
84
+ _hover ?: Partial < IInputProps > ;
85
85
/**
86
86
* Passed props will be applied on focused state.
87
87
*/
88
- _focus ?: Omit < Partial < IInputProps > , '_focus' > ;
88
+ _focus ?: Partial < IInputProps > ;
89
89
/**
90
90
* Passed props will be applied on disabled state.
91
91
*/
92
- _disabled ?: Omit < Partial < IInputProps > , '_disabled' > ;
92
+ _disabled ?: Partial < IInputProps > ;
93
93
/**
94
94
* Passed props will be applied on readOnly state.
95
95
*/
96
- _readOnly ?: Omit < Partial < IInputProps > , '_readOnly' > ;
96
+ _readOnly ?: Partial < IInputProps > ;
97
97
/**
98
98
* Passed props will be applied on invalid state.
99
99
*/
100
- _invalid ?: Omit < Partial < IInputProps > , '_hover' > ;
100
+ _invalid ?: Partial < IInputProps > ;
101
101
/**
102
102
* props are passed to InputBase component
103
103
*/
Original file line number Diff line number Diff line change @@ -33,4 +33,7 @@ type AllProps<T extends StyledPropConfig> = {
33
33
: unknown ;
34
34
} ;
35
35
36
- export type StyledProps = AllProps < StyledPropConfig > ;
36
+ export type StyledProps = Omit <
37
+ AllProps < StyledPropConfig > ,
38
+ 'gap' | 'borderBottom'
39
+ > ;
You can’t perform that action at this time.
0 commit comments