@violetui/badge
v0.1.1-beta.0
Published
Vui Badge Component Repository.
Downloads
3
Readme
@violetui/badge
Usage
first import the button component:
const Badge = require('@violetui/badge');
// or
import Badge From '@violetui/badge'
use it:
<Badge hideBadge={false} content={33} color="primary" variant="Large">
<Icon />
</Badge>
Props
variant(optional): "small" | "large"
content(optional): Number
color(optional): "primary" | "secondary" | "tertiary" | "error" | "warning" | "success"
hideBadge(optional): Boolean