@tom-ricci/react-spacer
v4.0.0
Published
A simple, typed whitespace component for React.
Downloads
12
Readme
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"}/>