polygon-maker

Use the Polygon maker to make 7 different polygons of any color easily.

Usage no npm install needed!

<script type="module">
  import polygonMaker from 'https://cdn.skypack.dev/polygon-maker';
</script>

README

Make Polygons Instantly

Use the Polygon maker to make 7 different polygons of any color easily.

Example use

import Polygon from 'polygon-maker/dist';
import './App.css';

function App() {
  return (
    <div className="App-header">
      <Polygon shape="square" color="red"/>
      <Polygon shape="rectangle" color="coral"/>
      <Polygon shape="oval" color="yellow"/>
      <Polygon shape="triangleUp" color = "green"/>
      <Polygon shape="triangleDown" color = "blue"/>
      <Polygon shape="trapezoid" color = "purple"/>
      <Polygon shape="parallelogram" color = "pink"/>
    </div>
  );
}

export default App;

Result: