notificationStore
Module-level singleton exposing the unread-notification counter that drives header badges and the toast viewport. Increment/decrement from anywhere; React su…
Module-level singleton exposing the unread-notification counter that drives header badges and the toast viewport. Increment/decrement from anywhere; React subscribers re-render automatically.
import { createNotificationStore } from "@tetherto/mdk-ui-foundation";State
| Name | Signature |
|---|---|
count | number |
Actions
| Name | Signature |
|---|---|
decrement | () => void |
increment | () => void |
reset | () => void |
devicesStore
Module-level singleton tracking selected devices, containers, sockets, and the device-tag map across the UI. Drives bulk-action toolbars, filtering, and the …
timezoneStore
Module-level singleton holding the user's currently selected IANA timezone (e.g. `'America/New_York'`). Drives every timestamp renderer in the UI and the `us…