UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

17 lines 533 B
import React from 'react'; import type { ForwardRefComponent as PolymorphicForwardRefComponent } from '../utils/polymorphic'; type ElementProps = { as?: 'button'; href?: never; } | { as: 'a'; href: string; }; export type ActionListTrailingActionProps = ElementProps & { icon?: React.ElementType; label: string; className?: string; }; export declare const TrailingAction: PolymorphicForwardRefComponent<"button" | "a", ActionListTrailingActionProps>; export {}; //# sourceMappingURL=TrailingAction.d.ts.map