UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

18 lines (17 loc) 650 B
import React from 'react'; import { ForwardRefComponent as PolymorphicForwardRefComponent } from '../utils/polymorphic'; import { ActionListItemProps } from './shared'; type LinkProps = { download?: string; href?: string; hrefLang?: string; media?: string; ping?: string; rel?: string; target?: string; type?: string; referrerPolicy?: React.AnchorHTMLAttributes<HTMLAnchorElement>['referrerPolicy']; }; export type ActionListLinkItemProps = Pick<ActionListItemProps, 'active' | 'children' | 'sx'> & LinkProps; export declare const LinkItem: PolymorphicForwardRefComponent<"a", ActionListLinkItemProps>; export {};