1.0.4 • Published 3 years ago
react-square-div v1.0.4
A component to render a square div that have height equal to width
In your App.js or index.js need to import below line:
import "react-square-div/lib/styles.css"
.
Now just need to import SquareDiv from 'react-square-div
and use it in any where you want.