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 (13 loc) 526 B
import * as React from 'react'; import { IconType } from '../utils'; type TagSeverityType = 'success' | 'info' | 'warning' | 'danger'; export interface TagProps extends Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, 'ref'> { value?: React.ReactNode; severity?: TagSeverityType; rounded?: boolean; icon?: IconType<TagProps>; children?: React.ReactNode; } export declare class Tag extends React.Component<TagProps, any> { public getElement(): HTMLSpanElement; }