Using layout components
NativeBase provides layout components that simplify the layout code for your screens. You can use these components to build your own grid layouts for the UI components on your screens. Let's take a look at an example. Here are the App
components:
import React from "react"; import { HStack } from "native-base"; import Container from "./Container"; import { CardItem } from "./CardItem"; export default function App() { return ( <Container title="Using Layout Components"> <HStack space={3} justifyContent="center" alignItems="center" mt={2}> <CardItem>Card 1</CardItem> <CardItem>Card 2</CardItem> </HStack...