Enable notifications
"off"Notifications are off.
Notifications
NotificationStateIconShows off, enabled, and unread notification states.
Notifications are off.
"off"Notifications are off.
"on"Notifications are enabled.
"unread"There are unread notifications.
Implementation
The component stays presentational. Your application remains in control of async work and business logic. The state prop is a TypeScript string literal union — pass an invalid state and you'll get a type error at build time.
import { NotificationStateIcon } from "@stateglyph/react";
<NotificationStateIcon state="off" decorative />