Skip to content

Commit c8d0660

Browse files
committed
fix: input ref typing
1 parent a859163 commit c8d0660

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/primitives/Input/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import type { ResponsiveValue, ColorType } from '../../../components/types';
1010
import type { ISizes } from '../../../theme/base/sizes';
1111
import type { CustomProps } from '../../types';
1212
import type { IStackProps } from '../Stack/Stack';
13+
import type { MutableRefObject } from 'react';
1314

1415
export interface InterfaceInputProps
1516
extends PlatformProps<any>,
@@ -110,6 +111,7 @@ export interface InterfaceInputProps
110111
focusOutlineColor?: ColorType;
111112
/** This prop allow you to change outlineColor when input is in focused state*/
112113
inValidOutlineColor?: ColorType;
114+
ref?: MutableRefObject<any>;
113115
}
114116

115117
export interface IInputGroupProps extends InterfaceBoxProps<IInputGroupProps> {

0 commit comments

Comments
 (0)