format import React from 'react' ; import { SafeAreaView , StyleSheet , ScrollView , View , StatusBar , } from 'react-native' ; import { Colors } from 'react-native/Libraries/NewAppScreen' ; import OSDemo from './OSDemo' ; declare const global ; const App = ( ) => { return ( < > < StatusBar barStyle = "dark-content" / > < SafeAreaView > < ScrollView contentInsetAdjustmentBehavior = "automatic" style = { styles . scrollView } > < View style = { styles . body } > < OSDemo name = "OneSignal" / > < /View> < /ScrollView> < /SafeAreaView> < />); } ; const styles = StyleSheet . create ( { scrollView : { backgroundColor : Colors . lighter , } , engine : { position : 'absolute' , right : 0 , } , body : { backgroundColor : Colors . white , } , sectionContainer : { marginTop : 32 , paddingHorizontal : 24 , } , sectionTitle : { fontSize : 24 , fontWeight : '600' , color : Colors . black , } , sectionDescription : { marginTop : 8 , fontSize : 18 , fontWeight : '400' , color : Colors . dark , } , highlight : { fontWeight : '700' , } , footer : { color : Colors . dark , fontSize : 12 , fontWeight : '600' , padding : 4 , paddingRight : 12 , textAlign : 'right' , } , } ) ; export default App ;