Badge.Status

View Source

Props

Accepts Badge props.

lightboolean

When true, Sets a light background to use against darker backgrounds.

onClearRequest() => void

Called when the status should be set hidden

sizeBadgeProps['size']

The size of the badge

status'error' | 'success'

The status of the badge, if nothing passed, nothing will be rendered.

titlestring

Title of badge