@zenithui/toast
Version:
A modern, lightweight toast notification system for React applications. ZenithUI Toast provides a simple and customizable way to display notifications, alerts, and messages to users with smooth animations and flexible styling options.
11 lines (10 loc) • 368 B
TypeScript
import "./toast-container.css";
import { Toast } from "../../lib/types";
interface ToastContainerProps extends React.HTMLAttributes<HTMLDivElement> {
/**
* The List of Item of Toast Instance.
*/
toasts: Toast[];
}
export default function ToastContainer({ toasts, className, ...props }: ToastContainerProps): import("react").ReactPortal[];
export {};