react-rayr-pie
v0.0.1
Published
react-rayr-progress
Downloads
19
Maintainers
Readme
RayrProgress ⭕️
Features
- Simple process circle && bar by svg
Environment Support
Install
npm install react-rayr-cli -g
Usage
import { RayrPie,RayrBar } from 'rayr';
ReactDOM.render(<RayrPie />, mountNode);
And import style manually:
import 'rayr/rayrPie.scss'
Development
$ git clone https://github.com/rayrcoder/react-rayr-cli.git
$ npm install
$ npm start
Params
*textContent: PropTypes.string, *className: PropTypes.string, *percent: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), *classPrefix: PropTypes.string, *strokeColor: PropTypes.string, *strokeLinecap: PropTypes.oneOf(['butt', 'round', 'square']), *strokeWidth: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), *style: PropTypes.object, *textStyle: PropTypes.object, *backColor: PropTypes.string, *backWidth: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),