UNPKG

react-lightning-design-system

Version:

Salesforce Lightning Design System components built with React

22 lines (21 loc) 438 B
import { HTMLAttributes, Ref, FC } from 'react'; import { IconCategory } from './Icon'; /** * */ export type PillProps = { label?: string; title?: string; truncate?: boolean; disabled?: boolean; icon?: { category?: IconCategory; icon?: string; }; pillRef?: Ref<HTMLElement>; onRemove?: () => void; } & HTMLAttributes<HTMLSpanElement>; /** * */ export declare const Pill: FC<PillProps>;