react-bullet-status
v0.0.2
Published
Component to show quantity and states with a color circle.
Downloads
6
Readme
react-bullet-status
Component to show quantity and states with a color circle.
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.