Spacer
Creates an adjustable, empty space that can be used to tune the spacing between child elements within Flex
.
Import​
import { Spacer } from 'react-native-flex-layout';
Usage​
<Flex inline>
<Box w={56} h={56} />
<Spacer />
<Box w={56} h={56} />
</Flex>
Usage with Stack
<HStack>
<Box w={56} h={56} />
<Spacer />
<Box w={56} h={56} />
</HStack>