Container | NativeBase | Universal Components for React and React Native

Data Display
Typography
Disclosure
Media and Icons
Others
Container
The Container restricts a content's width according to current breakpoint, while keeping the size 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