Container is a full-flex view with the shared screen padding and background.
Usage
Props
Container also accepts React Native ViewProps.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Apply the standard screen background, padding, and flexible layout
Container is a full-flex view with the shared screen padding and background.
import { Container, Text } from '@amisi-mobile-starter/ui';
export const ProfileContent = () => (
<Container className="gap-4">
<Text variant="heading">Profile</Text>
<Text>Manage your account details.</Text>
</Container>
);
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | Required | Container content. |
className | string | undefined | Additional utility classes merged with the base styles. |
Container also accepts React Native ViewProps.Was this page helpful?