UNPKG

@geist-ui/react

Version:

Modern and minimalist React UI library.

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