@kbfront/kb-ui
Version:
KB React UI Library
15 lines (14 loc) • 326 B
TypeScript
export interface IToastItem {
id?: string;
type?: string;
title: string;
content?: string;
time?: number;
}
interface IProps {
item: IToastItem;
index?: number;
onRemove(id: string): void;
}
declare const ToastItem: ({ index, item, onRemove }: IProps) => JSX.Element;
export default ToastItem;