UNPKG

primereact

Version:

PrimeReact is an open source UI library for React featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with Prime

17 lines (12 loc) 512 B
import * as React from 'react'; type BadgeSeverityType = 'success' | 'info' | 'warning' | 'danger'; type BadgeSizeType = 'normal' | 'large' | 'xlarge'; export interface BadgeProps extends Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, 'ref'> { value?: any; severity?: BadgeSeverityType; size?: BadgeSizeType; children?: React.ReactNode; } export declare class Badge extends React.Component<BadgeProps, any> { public getElement(): HTMLSpanElement; }