@@ -5,14 +5,17 @@ import type { InterfaceBoxProps } from '../Box';
5
5
import type { ResponsiveValue } from '../../../components/types' ;
6
6
import type { ISizes } from '../../../theme/base/sizes' ;
7
7
import type {
8
+ ColorType ,
8
9
CustomProps ,
9
10
ThemeComponentSizeType ,
10
11
VariantType ,
11
12
} from '../../../components/types/utils' ;
12
13
// import type { MutableRefObject } from 'react';
14
+ import type { IStackProps } from '../Stack/Stack' ;
15
+ import type { MutableRefObject } from 'react' ;
13
16
14
17
export interface InterfaceInputProps
15
- extends PlatformProps < any > ,
18
+ extends PlatformProps < IInputProps > ,
16
19
Omit < TextInputProps , 'textAlign' > ,
17
20
StyledProps {
18
21
/**
@@ -98,9 +101,24 @@ export interface InterfaceInputProps
98
101
* Passed props will be applied on invalid state.
99
102
*/
100
103
_invalid ?: Partial < IInputProps > ;
101
- // These porps are currently on hold
102
- // label?: string;
103
- // _label?: ITextProps;
104
+ /**
105
+ * props are passed to InputBase component
106
+ */
107
+ _input ?: Partial < IInputProps > ;
108
+ /**
109
+ * Props to be passed to the Stack used inside.
110
+ */
111
+ _stack ?: Partial < IStackProps > ;
112
+ /**
113
+ * This prop allow you to change outlineColor when input is in focused state
114
+ */
115
+ focusOutlineColor ?: ColorType ;
116
+ /**
117
+ * This prop allow you to change outlineColor when input is in focused state
118
+ */
119
+ inValidOutlineColor ?: ColorType ;
120
+
121
+ ref ?: MutableRefObject < any > ;
104
122
}
105
123
106
124
export interface IInputGroupProps extends InterfaceBoxProps < IInputGroupProps > {
0 commit comments