UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

12 lines 585 B
import type { ForwardRefComponent as PolymorphicForwardRefComponent } from '../utils/polymorphic'; export type LabelProps = { /** The color of the label */ variant?: LabelColorOptions; /** How large the label is rendered */ size?: LabelSizeKeys; }; export type LabelColorOptions = 'default' | 'primary' | 'secondary' | 'accent' | 'success' | 'attention' | 'severe' | 'danger' | 'done' | 'sponsors'; type LabelSizeKeys = 'small' | 'large'; declare const Label: PolymorphicForwardRefComponent<"span", LabelProps>; export default Label; //# sourceMappingURL=Label.d.ts.map