Skip to main content

View

View is the most basic component and it's just the extension of the react-native View component and it knows about the current theme and set the background color accordingly.

Usage

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

Row

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

Props

PropData TypeDefault ValueDescription
ExtendsViewProps$1--Inherits properties from ViewProps$1
rowboolean--Set true for horizontal(flexDirection) view