React Native View

React Native View

We use View for basic UI Component, Just like we use div in html. This is most used core component in React Native.

Syntax of View

import { View } from 'react-native;
...
<View style={styles.container}>
   ... Content ...
</View>

React Native View working example

If you have any problem comment down below. If you want more information or properties than go to https://reactnative.dev/docs/View

Leave a Reply

Your email address will not be published. Required fields are marked *