Nearsighted Penguin March

    react-simple-gauges

    1.0.2 • Public • Published

    react-simple-gauge

    NPM JavaScript Style Guide

    demo

    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

    Option type Description Example
    percent required Percent of progress in gauge 75
    color optional Color if not define intervals of colors #FFFFFF, red, rgba(255,243,12,.5)
    intervals optional Intervals values for define color, value in [min,max> [60,75,101]
    colors optional Array of colors for intervals values ['green','grba(255,255,40,.5)','#d73a49']

    License

    MIT © kevinjpuscan

    Install

    npm i react-simple-gauges

    DownloadsWeekly Downloads

    153

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    31.3 kB

    Total Files

    7

    Last publish

    Collaborators

    • kevinjpuscan