UNPKG

@primer/components

Version:
18 lines (17 loc) 613 B
import React from 'react'; import { ForwardRefComponent as PolymorphicForwardRefComponent } from '@radix-ui/react-polymorphic'; import { ItemProps } from './Item'; declare type LinkProps = { download?: string; href?: string; hrefLang?: string; media?: string; ping?: string; rel?: string; target?: string; type?: string; referrerPolicy?: React.AnchorHTMLAttributes<HTMLAnchorElement>['referrerPolicy']; }; declare type LinkItemProps = Pick<ItemProps, 'children' | 'sx'> & LinkProps; export declare const LinkItem: PolymorphicForwardRefComponent<"a", LinkItemProps>; export {};