UNPKG

uiinfinity-components

Version:

Beautiful UI components with smooth animations and 3D effects

22 lines 736 B
import { useToast } from "@/lib/toast"; declare const toast: (props: { variant?: ("default" | "destructive") | undefined; title?: React.ReactNode; action?: React.ReactNode; description?: React.ReactNode; duration?: number | undefined; onOpenChange?: ((open: boolean) => void) | undefined; }) => { id: string; update: (props: { variant?: ("default" | "destructive") | undefined; title?: React.ReactNode; action?: React.ReactNode; description?: React.ReactNode; duration?: number | undefined; onOpenChange?: ((open: boolean) => void) | undefined; }) => void; dismiss: () => void; }; export { useToast, toast }; //# sourceMappingURL=use-toast.d.ts.map