.. | ||
index.stories.js | ||
README.md |
Badge
Usage
import { Badge } from 'asc-web-components';
<Badge />;
Description
Item notify badge.
Properties
Props | Type | Required | Values | Default | Description |
---|---|---|---|---|---|
number |
number |
0 | Number value | ||
backgroundColor |
string |
'#ED7309' | HTML background color | ||
color |
string |
'#FFFFFF' | HTML font color | ||
fontSize |
string |
'11px' | HTML font size | ||
fontWeight |
number |
'800' | HTML font weight | ||
onClick |
func |
onClick event |