import { HTMLChakraProps, RecipeProps, UnstyledProp } from '@chakra-ui/react/styled-system'; import { AriaLinkOptions } from 'react-aria'; type LinkRecipeProps = { /** * Size variant of the link */ size?: RecipeProps<"nimbusLink">["size"]; /** * Font color variant of the link */ fontColor?: RecipeProps<"nimbusLink">["fontColor"]; } & UnstyledProp; export type LinkRootSlotProps = HTMLChakraProps<"a", LinkRecipeProps>; type LinkVariantProps = Omit & Pick & { [key: `data-${string}`]: string; }; export type LinkProps = LinkVariantProps & { /** * Content to display inside the link */ children?: React.ReactNode; /** * Ref forwarding to the anchor element */ ref?: React.Ref; }; export {};