哟慕课
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
511 B

import React from 'react';
import {StyleSheet, View, Platform} from 'react-native';
import {StatusBarHeight} from './api/StatusBarHeight';
import {YooBackground} from './component/index';
import Router from './Router';
const styles = StyleSheet.create({
container: {
margin: 0,
padding: 0,
paddingTop: Platform.OS === 'ios' ? StatusBarHeight : 0,
},
});
export default function App() {
return (
<View style={styles.container}>
<YooBackground />
<Router />
</View>
);
}