UNPKG

reablocks

Version:
20 lines (19 loc) 560 B
import { FC, ReactElement } from 'react'; import { ChipProps, ChipRef } from './Chip'; import { ChipTheme } from './ChipTheme'; export interface DeletableChipProps extends Omit<ChipProps, 'end'> { /** * Customize delete icon. * @default <CloseIcon height={12} width={12} /> */ deleteIcon?: ReactElement; /** * Callback if the chip is deletable. */ onDelete?: () => void; /** * Theme for the Deletable Chip. */ theme?: ChipTheme; } export declare const DeletableChip: FC<DeletableChipProps & ChipRef>;