View

A customizable view component for layout and structure.

Installation

Terminal
npx flexnative-cli add "https://registry.flexnative.com/c/view.json"

Usage


Importing
import { View } from "@/components/ui/view";
Using
<View style={{ padding: 16 }}>
 { /* Your content here... */ } 
</View>

API

View

A customizable view component for layout and structure.


PropTypeDescriptionDefault
styleStyleProp<ViewStyle>Additional styles for the view.-
...propsViewPropsAdditional native View props.-