哟慕课
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
528 B

import React from 'react';
import {StyleSheet, View, Platform} from 'react-native';
import {StatusBarHeight} from './api/StatusBarHeight';
import YooLogin from './component/YooLogin';
import {YooBackground} from './ui/YooBackground';
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 />
<YooLogin />
</View>
);
}