notifications exposed
This commit is contained in:
parent
779ddae8b8
commit
c10f3f3ade
@ -1,15 +1,7 @@
|
||||
export { useLang } from "./useLang.js";
|
||||
export { useLocalStorage, buildStorageKey } from "./useLocalStorage.js";
|
||||
export { useMemoryStorage } from "./useMemoryStorage.js";
|
||||
export {
|
||||
useNotifications,
|
||||
notifyError,
|
||||
notifyException,
|
||||
notifyInfo,
|
||||
notify,
|
||||
ErrorNotification,
|
||||
InfoNotification
|
||||
} from "./useNotifications.js";
|
||||
export * from "./useNotifications.js";
|
||||
export {
|
||||
useAsyncAsHook,
|
||||
HookError,
|
||||
|
@ -54,7 +54,7 @@ export function notifyInfo(title: TranslatedString) {
|
||||
});
|
||||
}
|
||||
|
||||
type Notification = {
|
||||
export type Notification = {
|
||||
message: NotificationMessage;
|
||||
remove: () => void;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user