UNPKG

@nteract/mythic-notifications

Version:

A notification system based on blueprintjs toasters and the myths redux framework

9 lines (7 loc) 273 B
import { notifications } from "../package"; import { NotificationSystem } from "../types"; export const initializeSystem = notifications.createMyth("initializeSystem")<NotificationSystem>({ reduce: (state, action) => state.set("current", action.payload) });