reablocks
Version:
Component library for React
20 lines (18 loc) • 508 B
TypeScript
import { ChipTheme } from './ChipTheme';
import { ChipProps, ChipRef } from './Chip';
import { FC, ReactElement } from 'react';
export interface DeletableChipProps extends Omit<ChipProps, 'end'> {
/**
* Customize delete icon.
*/
deleteIcon?: ReactElement;
/**
* Callback if the chip is deletable.
*/
onDelete?: () => void;
/**
* Theme for the Deletable Chip.
*/
theme?: ChipTheme;
}
export declare const DeletableChip: FC<DeletableChipProps & ChipRef>;