From 12008a6b56d275157d66747196507ec41f258dde Mon Sep 17 00:00:00 2001 From: Rohit Singh Date: Mon, 20 Jun 2022 16:32:21 +0530 Subject: [PATCH] fix: type issue in input typings --- src/components/primitives/Input/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/primitives/Input/types.ts b/src/components/primitives/Input/types.ts index 47b92cb2d..f2f04b005 100644 --- a/src/components/primitives/Input/types.ts +++ b/src/components/primitives/Input/types.ts @@ -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, @@ -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 | RefCallback; + ref?: MutableRefObject | RefCallback; } export interface IInputGroupProps extends InterfaceBoxProps {