Notification stack
import { NotificationStack } from "@arcadia/ui";- The release needs your approval Scout waits for review at 18:00
NotificationStack
expanded- boolean
- Whether the deck is open (controlled).
defaultExpanded- boolean
- Default:
false - Opens with the deck open (uncontrolled).
onExpandedChange- (expanded: boolean) => void
- Called when the deck opens or closes.
maxVisible- number
- Default:
3 - Most cards the closed deck shows; the open deck shows every line.
label- (count: number) => ReactNode
- Default:
"3 notifications" - The control's words, by the number of lines.
empty- ReactNode
- What stands in place of the deck with no lines. Default an
EmptyState, "Nothing new". rootStyle- NotificationStackStyle
- Typed StyleX override: where it sits and its knobs.
children- ReactNode
- The notification lines, newest first: each stands on a card of its own.
Rest props go to HTMLAttributes<HTMLDivElement>.
State machine
- Deploy needs review