-
Notifications
You must be signed in to change notification settings - Fork 0
Badge
Nariman Bortov edited this page Jul 2, 2023
·
3 revisions
import { Badge } from '@narimanb/wreactui'
There are five types, applied by the prop type
: success
, danger
, warning
, neutral
, and primary
(default).
Code
<Badge>primary</Badge>
<Badge type="neutral">neutral</Badge>
<Badge type="success">success</Badge>
<Badge type="danger">danger</Badge>
<Badge type="warning">warning</Badge>
Prop | Description | Type | Default |
---|---|---|---|
type |
define the color of component |
success , primary , danger , warning , neutral
|
primary |
Original source: Estevan Maito https://windmillui.com/react-ui