Skip to main content
PROYECTOVIVIANA

NotificationBadge

The props declared for NotificationBadge, generated from the types @proyecto-viviana/ui ships.

Import

import { NotificationBadge } from "@proyecto-viviana/ui";

Props

Props for NotificationBadge in @proyecto-viviana/ui
PropTypeDefaultDescription
valuenumber—The value to display in the notification badge.
size'S' | 'M' | 'L' | 'XL''S'The size of the notification badge.
stylesStyleString | (() => StyleString | undefined)—Spectrum-defined generated classes.
UNSAFE_classNamestring | UnsafeClassName—Additional CSS class name. Use only as a last resort.
UNSAFE_styleJSX.CSSProperties—Additional inline styles. Use only as a last resort.
idstring—Not yet documented
slotstring—Not yet documented
refHTMLSpanElement | ((el: HTMLSpanElement) => void) | { current?: HTMLSpanElement | null | undefined; }—Not yet documented
aria-labelstring—Not yet documented
aria-labelledbystring—Not yet documented
aria-describedbystring—Not yet documented
aria-detailsstring—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.