react-badges
v1.0.1
Published
awesome badges
Downloads
11
Readme
What is this?
Get perfect badges every time for the non-designer.
Installation
npm i react-badges --save
Then...
import Badge from 'react-badges'
<Badge>
+2 message
</Badge>
Options
react-badges supports 3 options, both of which are optional:
- type - primary | success | danger (Defaults to primary)
- badgeStyle - solid | light | outline (Defaults to solid)
- size - sm | md | lg | xl (Defaults to md)