Spacer
Utility component for horitonzal and vertical spacing between elements.
How to space
Simply import the spacer component
And pass it a prop xN, where N is the spacing you want to use.
App.tsx
Props
Value for horizontal and vertical Spacing
x1
SPACING
x2
SPACING * 2
x3
SPACING * 3
x4
SPACING * 4
x5
SPACING * 5
x6
SPACING * 6
x7
SPACING * 7
x8
SPACING * 8
x9
SPACING * 9
x10
SPACING * 10
Last updated