File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
# react-simple-gauge
2
2
3
- [ ![ NPM] ( https://img.shields.io/npm/v/react-simple-gauge.svg )] ( https://www.npmjs.com/package/react-simple-gauge ) [ ![ JavaScript Style Guide] ( https://img.shields.io/badge/code_style-standard-brightgreen.svg )] ( https://standardjs.com )
3
+ [ ![ NPM] ( https://img.shields.io/npm/v/react-simple-gauge.svg )] ( https://www.npmjs.com/package/react-simple-gauges ) [ ![ JavaScript Style Guide] ( https://img.shields.io/badge/code_style-standard-brightgreen.svg )] ( https://standardjs.com )
4
4
5
5
<img src =" ./.github/gauge.png " alt =" demo " height =" 100 " >
6
6
7
7
## Install
8
8
9
9
``` bash
10
- npm install --save react-simple-gauge
10
+ npm install --save react-simple-gauges
11
11
```
12
12
13
13
## Usage
14
14
15
15
``` jsx
16
16
import React , { Component } from ' react'
17
17
18
- import {SimpleGauge } from ' react-simple-gauge '
18
+ import {SimpleGauge } from ' react-simple-gauges '
19
19
20
20
class Example extends Component {
21
21
render () {
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " react-simple-gauge " ,
2
+ "name" : " react-simple-gauges " ,
3
3
"version" : " 1.0.0" ,
4
4
"description" : " Made with create-react-library" ,
5
5
"author" :
" Kevin Puscán Ortiz <[email protected] >" ,
You can’t perform that action at this time.
0 commit comments