@primer/react
Version:
An implementation of GitHub's Primer Design System using React
19 lines (18 loc) • 571 B
TypeScript
import { ActionListItemProps } from "./shared.js";
import React from "react";
//#region src/ActionList/LinkItem.d.ts
type LinkProps = {
download?: string;
href?: string;
hrefLang?: string;
media?: string;
ping?: string;
rel?: string;
target?: string;
type?: string;
referrerPolicy?: React.AnchorHTMLAttributes<HTMLAnchorElement>['referrerPolicy'];
className?: string;
};
type ActionListLinkItemProps = Pick<ActionListItemProps, 'active' | 'children' | 'inactiveText' | 'variant' | 'size'> & LinkProps;
//#endregion
export { ActionListLinkItemProps };