NotificationBadge
The props declared for NotificationBadge, generated from the types @proyecto-viviana/ui ships.
Import
import { NotificationBadge } from "@proyecto-viviana/ui";Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | — | The value to display in the notification badge. |
size | 'S' | 'M' | 'L' | 'XL' | 'S' | The size of the notification badge. |
styles | StyleString | (() => StyleString | undefined) | — | Spectrum-defined generated classes. |
UNSAFE_className | string | UnsafeClassName | — | Additional CSS class name. Use only as a last resort. |
UNSAFE_style | JSX.CSSProperties | — | Additional inline styles. Use only as a last resort. |
id | string | — | Not yet documented |
slot | string | — | Not yet documented |
ref | HTMLSpanElement | ((el: HTMLSpanElement) => void) | { current?: HTMLSpanElement | null | undefined; } | — | Not yet documented |
aria-label | string | — | Not yet documented |
aria-labelledby | string | — | Not yet documented |
aria-describedby | string | — | Not yet documented |
aria-details | string | — | Not yet documented |
Declared in packages/viviana-ui/src/notificationbadge/index.tsx.
Props marked solidaria or solidaria-components come from the headless layer underneath and behave the same in both registers. Components that wrap a DOM element also accept that element's standard attributes, which are left out here on purpose — listing them would bury the props that are actually ours.