Skip to main content

InterfaceStatusBadgeProps

Admin Docs


Interface: InterfaceStatusBadgeProps

Defined in: src/types/shared-components/StatusBadge/interface.ts:39

Props interface for the StatusBadge component.

Properties

ariaLabel?

optional ariaLabel: string

Defined in: src/types/shared-components/StatusBadge/interface.ts:49

Custom aria-label for accessibility (optional, overrides default)


className?

optional className: string

Defined in: src/types/shared-components/StatusBadge/interface.ts:51

Additional CSS classes to apply


icon?

optional icon: ReactNode

Defined in: src/types/shared-components/StatusBadge/interface.ts:47

Optional icon to display in the badge


label?

optional label: string

Defined in: src/types/shared-components/StatusBadge/interface.ts:45

Custom label text (optional, overrides i18n)


size?

optional size: StatusSize

Defined in: src/types/shared-components/StatusBadge/interface.ts:43

The size of the badge (optional, defaults to 'md')


variant

variant: StatusVariant

Defined in: src/types/shared-components/StatusBadge/interface.ts:41

The domain-specific status variant