UNPKG

@arkhas/inertia-datatable

Version:

A Laravel Inertia React Datatable component

18 lines (17 loc) 528 B
import * as React from "react"; import { Toast, type ToastProps, type ToastActionElement } from "./toast"; type ToasterToast = ToastProps & { id: string; title?: React.ReactNode; description?: React.ReactNode; action?: ToastActionElement; }; type Toast = Omit<ToasterToast, "id">; declare function toast(props: Toast): { id: string; dismiss: () => void; update: (props: ToasterToast) => void; }; declare function useToast(): any; declare function Toaster(): any; export { useToast, toast, Toaster };