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 */