UNPKG

koval-ui

Version:

React components collection with minimalistic design. Supports theming, layout, and input validation.

18 lines (17 loc) 441 B
"use client"; import { useCallback as e } from "react"; import { useNotificationContext as r } from "./NotificationContext.js"; import { Actions as s } from "./NotificationReducer.js"; const p = () => { const { dispatch: t } = r(); return e( (o, i) => { t({ id: o, props: i, type: s.NOTIFICATION_REGISTER }); }, [t] ); }; export { p as useRegisterNotification }; //# sourceMappingURL=useRegisterNotification.js.map