UNPKG

@cimpress/react-components

Version:
21 lines 621 B
/// <reference types="react" /> import { PublicComponentProps } from './types'; type Status = 'danger' | 'default' | 'info' | 'primary' | 'success' | 'warning'; type Size = 'sm' | 'lg' | 'default'; export interface LabelProps extends PublicComponentProps { /** * The text shown on the label. */ text: string; /** * The interaction status of the label. */ status?: Status; /** * The size of the label. */ size?: Size; } export declare const Label: ({ className, text, status, size, ...props }: LabelProps) => JSX.Element; export {}; //# sourceMappingURL=Label.d.ts.map