0.0.2 • Published 6 years ago

react-bullet-status v0.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
6 years ago

react-bullet-status

Component to show quantity and states with a color circle.

Example

Install

$ yarn install react-bullet-status

Example

import React from 'react'
import Base, { Color } from 'react-bullet-status'

const App = () =>
  <Base
    value={ 1 }
    color={ Color.open }
    label='Open'
  />

export default App

List of colors

  • open
  • waitingInventory
  • inProcess
  • completed
  • reverted
  • reverted

Value

Numeric value.

Color

Use list of colors or set hexadecimal color.

Label

Text label.