Skip to main content

IStatusBadgeProps

@spartanfx/react v1.2.2


@spartanfx/react / index / IStatusBadgeProps

Interface: IStatusBadgeProps

Props for the StatusBadge component.

Properties

Required

PropertyTypeDescription
statusstringThe status text to display inside the badge. This also determines the color when no custom color is provided.

Options

PropertyTypeDescription
bordered?booleanWhether to render the badge with a border.

Appearance & theming

PropertyTypeDescription
className?stringOptional CSS class to apply to the outer badge container.
colors?objectOptional color overrides for specific statuses. Keys should match possible status values.