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