1.0.4 • Published 2 years ago

react-simple-gauges v1.0.4

Weekly downloads
34
License
MIT
Repository
github
Last release
2 years ago

DEPRECATED.!!!

We recommend using the react-gauges library react-gauges

react-simple-gauge DEPRECATED

NPM JavaScript Style Guide

Install

npm install --save react-simple-gauges

Usage

import React, { Component } from 'react'

import {SimpleGauge} from 'react-simple-gauges'

class Example extends Component {
  render() {
    return <SimpleGauge percent="75"/>
  }
}

Options

OptiontypeDescriptionExample
percentrequiredPercent of progress in gauge75
coloroptionalColor if not define intervals of colors#FFFFFF, red, rgba(255,243,12,.5)
intervalsoptionalIntervals values for define color, value in [min,max>60,75,101
colorsoptionalArray of colors for intervals values'green','grba(255,255,40,.5)','#d73a49'

License

MIT © kevinjpuscan

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago