UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

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