react-pentagon

0.0.5 • Public • Published

react-pentagon

A simple react add-on to help drawing the svg pentagon.

Demo

https://peteroid.github.io/react-pentagon/

Build your own

  • npm install
  • npm run webpack

Props

name : propType = defaultValue

Basic

  • size : number = 50
  • fill : string = "#ad893e"
  • ratio : [number] = [1, 1, 1, 1, 1]

Animation

  • isAnimating : bool = true
  • duration : number = 1000

Package Sidebar

Install

npm i react-pentagon

Weekly Downloads

1

Version

0.0.5

License

UNLICENSED

Last publish

Collaborators

  • peteroid