listReachEnd.tsx (21f1ca1358f6d9bc5d2d1559221a72f162acdce5) listReachEnd.tsx (4060c00a75883036bbd315fb25c90065209312b3)
1import React from 'react';
2import {StyleSheet, View} from 'react-native';
3import rpx from '@/utils/rpx';
4import ThemeText from './themeText';
5
1import React from 'react';
2import {StyleSheet, View} from 'react-native';
3import rpx from '@/utils/rpx';
4import ThemeText from './themeText';
5
6
7export default function ListReachEnd() {
6export default function ListReachEnd() {
8 return (
9 <View style={style.wrapper}>
10 <ThemeText fontSize='content' fontColor='secondary'>~~~ 到底啦 ~~~</ThemeText>
11 </View>
12 );
7 return (
8 <View style={style.wrapper}>
9 <ThemeText fontSize="content" fontColor="secondary">
10 ~~~ 到底啦 ~~~
11 </ThemeText>
12 </View>
13 );
13}
14
15const style = StyleSheet.create({
14}
15
16const style = StyleSheet.create({
16 wrapper: {
17 width: '100%',
18 flex: 1,
19 minHeight: rpx(100),
20 justifyContent: 'center',
21 alignItems: 'center',
22 },
17 wrapper: {
18 width: '100%',
19 flex: 1,
20 minHeight: rpx(100),
21 justifyContent: 'center',
22 alignItems: 'center',
23 },
23});
24});