UNPKG

nexpi-ui

Version:

An elegant and minimalist Next.js 14 component library

15 lines (14 loc) 346 B
import React from 'react'; interface action { name: string; onActionClick?: () => void; } interface ToastProps { title?: string; text?: string; action?: action; start?: boolean; time?: number; } declare const Toast: ({ title, text, action, start, time }: ToastProps) => React.JSX.Element | null; export default Toast;