diff --git a/package.json b/package.json index f05008831..39926bb66 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "prettier --write" ] }, - "version": "3.4.15", + "version": "3.4.16", "license": "MIT", "private": false, "main": "lib/commonjs/index", 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 */