space

Basic usage

set height for vertical space and width for horizontal space

import {Center} from "tuix-design"
copy
Content1
Content2
<Box bg="gray" height={100}>
<Center>Content1</Center>
</Box>
<Space h={50} />
<Box bg="gray" height={100}>
<Center>Content2</Center>
</Box>
copy

API

propstypestatusdefaultdescription
wstring | numberoptional0Space width
hstring | numberoptional0Space height