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
Prop | Data Type | Default Value | Description |
---|---|---|---|
Extends | ViewProps$1 | -- | Inherits properties from ViewProps$1 |
row | boolean | -- | Set true for horizontal(flexDirection) view |