UNPKG

@confi/conflux-react-ui-test-package

Version:

Modern and minimalist React UI library.

16 lines (15 loc) 366 B
import React from 'react'; import { Toast } from './use-toast'; declare type ToastWithID = Toast & { id: string; willBeDestroy?: boolean; cancel: Function; }; export interface ToatItemProps { index: number; total: number; toast: ToastWithID; onHover: boolean; } declare const ToastItem: React.FC<ToatItemProps>; export default ToastItem;