Need private packages and team management tools?Check out npm Teams »

react-svg-polygon

2.0.6 • Public • Published

react-svg-polygon

Install

npm i react-svg-polygon

Usage

    <Poly sides={3} r={30} strokeWidth={2} />
    <Poly
      sides={4}
      cx={50}
      cy={50}
      width={100}
      height={100}
      r={30}
      stroke={"#18efff"}
    />
    <Poly sides={5} r={30} fill={"red"} stroke={"none"} />
    <Poly sides={6} r={30} />

Result

Install

npm i react-svg-polygon

DownloadsWeekly Downloads

2

Version

2.0.6

License

MIT

Unpacked Size

108 kB

Total Files

14

Last publish

Collaborators

  • avatar