Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
A badge is a visual decoration for UI elements. Different badges can display numerical values, status, or text.
Name | Description | Default |
---|---|---|
ref | ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | - |
as | "div" | - |
size | A Badge can be on of several preset sizes. "small""medium""large""extra-large""tiny""extra-small" | - |
status | Represents several status "outOfOffice""busy""away""available""offline""doNotDisturb" | "available" |
outOfOffice | Modifies the display to indicate that the user is out of office. This can be combined with any status to display an out-of-office version of that status boolean | false |
A presence badge supports tiny
, extra-small
, small
, medium
, and extra-large
sizes. The default is medium
.
A presence badge supports available
, away
, busy
, doNotDisturb
, offline
, and outOfOffice
status. The default is available
.
A presence badge supports available
, away
, busy
, doNotDisturb
, offline
, or outOfOffice
status when outOfOffice
is set.