-
-
Save Daltonic/39fe3ecb273a3c4e63c64a24b8bdbe66 to your computer and use it in GitHub Desktop.
Dapp Breeds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
const Spacer = ({ spaces }) => { | |
const range = Array.from({ length: spaces }, (_, index) => index) | |
return ( | |
<div> | |
{range.map((_, i) => ( | |
<div key={i} className="h-10" /> | |
))} | |
</div> | |
) | |
} | |
export default Spacer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment