Tuesday, June 23, 2020

React Native Components - View

                                                                               View

View is the most fundamental component for building react native user interface. View is use for layout. A view is commonly used as a container for other components. If we want to arrange a group of components vertically or horizontally, we wrap those components in view. we use view for styling our app. If we want to render a simple shape like circle, triangle or if we want to render a border, line, background color we use view.
         Many components use similar props as the view, such as style.It also supports layout with flexbox, touch handling.

Example:
 
Output:



Previous Post
Next Post

post written by:

Hello guys, myself Pooja Tirmare. I want to share my knowledge with people so they can learn react native and make beautiful applications.