Badge.Status
View Source
Props
Accepts Badge props.
light
boolean
When true
, Sets a light background to use against darker backgrounds.
onClearRequest
() => void
Called when the status should be set hidden
size
BadgeProps['size']
The size of the badge
status
'error' | 'success'
The status of the badge, if nothing passed, nothing will be rendered.
title
string
Title of badge