armadiazrino

App.js

Nov 29th, 2020
599
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from "react"
  2. import { ScrollView, StatusBar, StyleSheet } from "react-native"
  3. import Header from "./component/Header"
  4.  
  5. const App = () => {
  6.   return (
  7.     <ScrollView style={styles.mainContainer}>
  8.       <StatusBar backgroundColor={"rgb(239,81,83)"} />
  9.       <Header title={"Hello Rino!"} time={"15:31"} />
  10.     </ScrollView>
  11.   )
  12. }
  13.  
  14. const styles = StyleSheet.create({
  15.   mainContainer: {
  16.     backgroundColor: "rgb(255,248,222)",
  17.     flexGrow: 1,
  18.   }
  19. })
  20. export default App
  21.  
RAW Paste Data