React-native starter day-1 code

react-native safeareview is used to make a safe place in industries.code can be run without safearea view.only View is needed.

·

1 min read

Table of contents

No heading

No headings in the article.

import React from "react";
import {
  Text,
  View,
  SafeAreaView
} from 'react-native'
function App(){
  return(
    <SafeAreaView>
    <View>
        <Text>Hello world!</Text>
        <Text>Hello world!</Text>
        <Text>Hello world!</Text>
    </View>
    </SafeAreaView>
  )
}
export default App;