@nteract/mythic-notifications
Version:
A notification system based on blueprintjs toasters and the myths redux framework
14 lines (12 loc) • 344 B
text/typescript
import { createMythicPackage } from "@nteract/myths";
import { consoleNotificationSystem } from "./backends/console";
import { NotificationSystem } from "./types";
export const notifications = createMythicPackage("notifications")<
{
current: NotificationSystem;
}
>({
initialState: {
current: consoleNotificationSystem,
},
});