UNPKG

@cimpress/react-components

Version:
21 lines 631 B
import React from '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: React.ReactNode; /** * 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) => React.JSX.Element; export {}; //# sourceMappingURL=Label.d.ts.map