npm.io
0.0.1 • Published 8 years ago

react-rayr-progress

Licence
MIT
Version
0.0.1
Deps
3
Size
16 kB
Vulns
0
Weekly
0

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

Keywords