Skip to content

Commit

Permalink
fix: type issue in input typings
Browse files Browse the repository at this point in the history
  • Loading branch information
rayan1810 committed Jun 20, 2022
1 parent db6cf39 commit 12008a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/primitives/Input/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type {
} from '../../types';
import type { ResponsiveValue, ColorType } from '../../../components/types';
import type { IStackProps } from '../Stack/Stack';
import type { MutableRefObject } from 'react';
import type { MutableRefObject, RefCallback } from 'react';

export interface InterfaceInputProps
extends PlatformProps<IInputProps>,
Expand Down Expand Up @@ -111,7 +111,7 @@ export interface InterfaceInputProps
focusOutlineColor?: ColorType;
/** This prop allow you to change outlineColor when input is in focused state*/
invalidOutlineColor?: ColorType;
ref?: MutableRefObject<any> | RefCallback;
ref?: MutableRefObject<any> | RefCallback<any>;
}

export interface IInputGroupProps extends InterfaceBoxProps<IInputGroupProps> {
Expand Down

0 comments on commit 12008a6

Please sign in to comment.