Skip to main content

View

The most basic container component, extending React Native's View.
Automatically applies the current theme background color.

Usage

Child Components
function ViewUsage() {
return (
<View>
<Button title="Child Components" />
</View>
)
}

Row

Use the row prop or style to layout children horizontally.

Awesome
Blossom
function ViewRow() {
return (
<View row>
<Button title="Awesome" />
<Button title="Blossom" />
</View>
)
}

Props

PropData TypeDefault ValueDescription
ExtendsRNViewProps--Inherits properties from RNViewProps
rowboolean--Set true for horizontal(flexDirection) view