0.0.1 • Published 6 years ago

react-rayr-progress v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

RayrProgress ⭕️

Features

  • Simple process circle && bar by svg

Environment Support

  • Modern browsers and Internet Explorer 9+ (with polyfills)
  • Server-side Rendering
  • Electron

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),