From e22e9f3d35cb5acdaf504db0091d2c3a3af9662d Mon Sep 17 00:00:00 2001 From: Suraj Ahmed Date: Tue, 20 Sep 2022 12:26:03 +0530 Subject: [PATCH] fix: typing fixes --- src/components/primitives/Link/types.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/components/primitives/Link/types.ts b/src/components/primitives/Link/types.ts index ddaa0f5ed..5702a0f39 100644 --- a/src/components/primitives/Link/types.ts +++ b/src/components/primitives/Link/types.ts @@ -1,6 +1,6 @@ import type { MutableRefObject } from 'react'; import type { GestureResponderEvent } from 'react-native'; -import type { CustomProps, ThemeComponentSizeType } from '../../types'; +import type { CustomProps } from '../../types'; import type { InterfaceBoxProps } from '../Box/types'; export interface InterfaceLinkProps extends InterfaceBoxProps { @@ -11,15 +11,7 @@ export interface InterfaceLinkProps extends InterfaceBoxProps { /** * Size of the link */ - size?: - | '2xl' - | 'xl' - | 'lg' - | 'md' - | 'sm' - | 'xsm' - | number - | ThemeComponentSizeType<'Link'>; + size?: '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xsm' | number; /** * Whether Link text should be underlined */