import * as React from 'react';
import { Text, View, StyleSheet, ScrollView } from 'react-native';
import Constants from 'expo-constants';
import Item from './components/Item';
export default class App extends React.Component {
render() {
return (
<ScrollView style={styles.container} contentContainerStyle={{paddingVertical: 50}}>
<Item text="Change code in the editor and watch it change on your phone! Save to get a shareable url." />
<Item text="Change code in the editor and it change" />
<Item text="Change code in the editor and it aaa" />
<Item text="Change code in the editor and" />
<Item text="Change code in the editor" />
<Item text="Change code in the" />
<Item text="测试中文+数字的情况,187元可以抵消多少元,剩下更多的可以吊销掉多少呢,可能更好地哦的函数的看看啥情况" />
<Item text="测试中文+数字的情况,187元可以抵消多少元" />
<Item text="测试中文+数字的情况,187元可以抵消" />
<Item text="测试中文+数字的情况,187元可以抵" />
<Item text="测试中文+数字的情况,187元可以" />
<Item text="测试中文+数字的情况,187元" />
</ScrollView>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'flex-start',
backgroundColor: '#000',
},
paragraph: {
fontSize: 18,
fontWeight: 'bold',
textAlign: 'center',
},
});