react-equilateral-polygon
v1.2.2
Published
A React component that renders an equilateral polygon based on it's sides count
Downloads
3
Readme
#Equilateral Polygon
A component for rendering an Equilateral Polygon based on amount of sides
Installation
Using the package manager npm.
npm i react-equilateral-polygon
Usage
import React from 'react'
import EquilateralPolygon from 'react-equilateral-polygon'
class App extends Component {
render() {
return (
<EquilateralPolygon sideCount={5} size={50} />
)
}
}
export default App