Answers for "change background color react native"

1

change background color react native

import React from 'react';
import { View } from 'react-native'

export default function App() {
  return (
    <View style={{ backgroundColor: "blue", flex: 1 }}> // this View element covers the entire screen thanks to "flex:1" 
    	//Write the rest of the app here
    </View>
  )
}
Posted by: Guest on July-21-2021

Code answers related to "change background color react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language