@tom-ricci/react-spacer
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

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"}/>

/@tom-ricci/react-spacer/

    Package Sidebar

    Install

    npm i @tom-ricci/react-spacer

    Weekly Downloads

    7

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    3.57 kB

    Total Files

    5

    Last publish

    Collaborators

    • tom-ricci