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