import type { IBoxProps } from '../Box'; export interface ILinkProps extends IBoxProps { /** * URL that should be opened on Link press */ href?: string | undefined; /** * Size of the link */ size?: '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xsm' | number; /** * Whether Link text should be underlined */ isUnderlined?: boolean | undefined; /** * Callback that will be invoked on Link press */ onPress?: any; /** * If true, link will be opened in new tab on web. It uses _target property to achieve this */ isExternal?: boolean; /** * Hover props. Accepts all styled system props. */ _hover?: any; /** * Ref to be attached to the Link wrapper */ wrapperRef?: any; } export type IUseLinkProp = { href?: string; isExternal?: boolean; onPress: any; _ref: any; };