1.0.1 • Published 4 years ago

react-badges v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

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>

alt text

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)