DocSpace-buildtools/web/ASC.Web.Storybook/stories/badge
2019-07-09 17:54:30 +03:00
..
index.stories.js Moved Storybook to separated ASC.Web.Storybook folder (issue: 'git clean -xdf' removes storybook files every time) 2019-07-09 17:54:30 +03:00
README.md Moved Storybook to separated ASC.Web.Storybook folder (issue: 'git clean -xdf' removes storybook files every time) 2019-07-09 17:54:30 +03:00

Badge

Usage

import { Badge } from 'asc-web-components';

<Badge />;

Description

Notify badge

Properties

Props Type Required Values Default Description
number number 0 Number value
backgroundColor string '#ED7309' CSS background-color
color string '#FFFFFF' CSS color
fontSize string '11px' CSS font-size
fontWeight number '800' CSS font-weight
borderRadius string '11px' CSS border-radius
padding string '0 5px' CSS padding
maxWidth string '50px' CSS max-width
onClick func onClick event