Nativebase logo
NativeBase
Container
The Container is used to constrain a content's width to the current breakpoint, while keeping it fluid.
Implements
Usage
To include content, wrap it in the Container component.
Example
Playground
Props
Container implements , so all the Box Props can be passed to it.
Container
Name
Type
Description
Default
centerContent
boolean
It'll center child elements based on their content width.
true
Nativebase logo
MadeWithNativeBase