import { ComponentProps, ElementType } from 'react'; import { PolymorphicComponentPropsWithRef, PolymorphicForwardRefComponent } from '../shared/types'; type BaseLinkProps = ComponentProps<'a'>; export type LinkProps = PolymorphicComponentPropsWithRef; /** - `Link` has two required props - `href` for the link destination and `children` for the link text. - If you want to open a link in a new tab (recommended for links that take you away from the app entirely), add in `target="_blank"`. This will also append an icon to the link to indicate that it will open in a new tab. - `Link` will inherit `font-size` and `font-family` from its parent, but is always set to render with a semibold `600` font weight. - `Link` is similar to [ButtonCondensed](/docs/buttoncondensed--docs), but is intended for inline links within text blocks. If you want to use a minimal link style in a table cell or similar, use `ButtonCondensed` instead. */ export declare const Link: PolymorphicForwardRefComponent<"a", BaseLinkProps>; export default Link;