spacer v4
A super-simple spacer component for React.
Usage
First, import the package:
import Spacer from "@tom-ricci/react-spacer";
Then, specify the width and/or height of the spacer as a valid CSS length:
<Spacer x={"10rem"} y={"50px"}/>
A super-simple spacer component for React.
First, import the package:
import Spacer from "@tom-ricci/react-spacer";
Then, specify the width and/or height of the spacer as a valid CSS length:
<Spacer x={"10rem"} y={"50px"}/>
npm i @tom-ricci/react-spacer
5
4.0.0
MIT
3.57 kB
5