UNPKG

ar-design

Version:

AR Design is a (react | nextjs) ui library.

17 lines (16 loc) 573 B
import { PopupButtonConfig, Status } from "../contexts/Notification"; declare const useNotification: () => { notification: ({ title, message, status }: { title: string; message?: string; status: Status | number; }) => void; popupConfirm: ({ title, message, status, buttons, onConfirm, }: { title: string; message?: string; status: (Status | "save" | "delete") | number; buttons?: PopupButtonConfig | null; onConfirm?: (confirm: boolean) => void; }) => void; }; export default useNotification;