Container component
Container
component is used to wrap child components and provide a safe area.
Prop | Type | Description |
---|---|---|
children | React.ReactNode | The child components to be rendered inside the container. |
style | StyleProp<ViewStyle> | Optional styles to apply to the container. |
edges | Edge[] | Determines which edges of the safe area should be considered. |
bgColor | string | The background color of the container. |
Container
component.Container
component like below: