UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

12 lines (11 loc) 431 B
import { SxProp } from '../sx'; import { ComponentProps } from '../utils/types'; import { ForwardRefComponent as PolymorphicForwardRefComponent } from '../utils/polymorphic'; type StyledLinkProps = { hoverColor?: string; muted?: boolean; underline?: boolean; } & SxProp; declare const Link: PolymorphicForwardRefComponent<"a", StyledLinkProps>; export type LinkProps = ComponentProps<typeof Link>; export default Link;