import * as React from 'react'; import { Box, BoxProps, color } from '@stacks/ui'; import { getCapsizeStyles } from '@components/mdx/typography'; import { forwardRefWithAs, ForwardRefExoticComponentWithAs } from '@stacks/ui-core'; export const Text: ForwardRefExoticComponentWithAs = forwardRefWithAs< BoxProps, 'span' >((props, ref) => ); export const Caption: ForwardRefExoticComponentWithAs< BoxProps, 'span' > = forwardRefWithAs((props, ref) => ( )); export const Title: ForwardRefExoticComponentWithAs< BoxProps, 'span' > = React.forwardRef((props, ref) => ( )); export type LinkProps = BoxProps & Partial>; export const Link: ForwardRefExoticComponentWithAs = forwardRefWithAs( ({ _hover = {}, ...props }: LinkProps, ref) => ( ) );