Skip to content

Commit fb72e72

Browse files
strip off all unnecessary code
1 parent 94d0a39 commit fb72e72

28 files changed

+5318
-30993
lines changed

.babelrc

-9
This file was deleted.

.editorconfig

-9
This file was deleted.

.eslintrc

-21
This file was deleted.

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
node_modules
66

77
# builds
8-
build
98
dist
10-
.rpt2_cache
9+
.cache
1110

1211
# misc
1312
.DS_Store

.travis.yml

-4
This file was deleted.

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
# React Gradient Progress
22

3-
> Simple and light circular progressbar with gradient
3+
> Simple and light gradient-enabled circular progressbar for reactjs/nextjs
44
5-
![React gradient progress bar](https://miro.medium.com/max/875/1*6eFjvxycuyCzO-jui0d6Dw.png)
5+
![React Super Progressbar](https://miro.medium.com/max/875/1*6eFjvxycuyCzO-jui0d6Dw.png)
66

7-
[![NPM](https://img.shields.io/npm/v/react-gradient-progress.svg)](https://www.npmjs.com/package/react-gradient-progress) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
7+
[![NPM](https://img.shields.io/npm/v/react-super-progressbar.svg)](https://www.npmjs.com/package/react-super-progressbar) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
88

99
## Installation
1010

1111
Using npm
1212

1313
```bash
14-
npm i -s react-gradient-progress
14+
npm i -s react-super-progressbar
1515
```
1616

1717
## Basic Usage
1818

1919
```javascript
20-
import {CircleProgress} from 'react-gradient-progress'
20+
import {CircleProgress} from 'react-super-progressbar'
2121

22-
<CircleProgress percentage={90} />
22+
<CircleProgress percentage={75} strokeWidth={8} />
2323
```
2424

2525
## Props

build/index.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/index.js

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/App.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import React from 'react'
2+
3+
import { CircleProgress } from '../src/index'
4+
5+
export default class App extends React.Component {
6+
render () {
7+
return (
8+
<div>
9+
<CircleProgress percentage={80} strokeWidth={8} secondaryColor="#f0f0f0"/>
10+
<CircleProgress percentage={60} strokeWidth={8} primaryColor={["#11FFBD", "#AAFFB9"]} secondaryColor="#f0f0f0" />
11+
<CircleProgress percentage={80} strokeWidth={8} primaryColor={["#2193b0", "#6dd5ed"]} secondaryColor="#f0f0f0" />
12+
<CircleProgress percentage={75} strokeWidth={8} />
13+
</div>
14+
)
15+
}
16+
}

0 commit comments

Comments
 (0)