Skip to content

rayrcoder/react-rayr-pie

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published