import React from 'react'; import { SafeAreaView, Text, Image, Alert, Linking, TouchableOpacity, StyleSheet, View, TextInput, Platform, ScrollView } from 'react-native'; import { colors } from '../assets/styles/colors-theme'; import AsyncStorage from '@react-native-community/async-storage'; import { width, height } from '../services/screen'; import { inject, observer } from "mobx-react" import { observable, makeObservable } from 'mobx' import Icon from 'react-native-vector-icons/dist/AntDesign'; import GoogleIcon from 'react-native-vector-icons/dist/MaterialCommunityIcons' import FontAwesome from 'react-native-vector-icons/dist/FontAwesome5' import FastImage from 'react-native-fast-image' import { getStatusBarHeight } from 'react-native-status-bar-height'; import { color } from 'react-native-reanimated'; import { images } from '../assets/images/imageIndex' import I18n from '../services/i18n' Icon.loadFont(); GoogleIcon.loadFont() const ListTitle = inject("appStore")(observer(class ListTitle extends React.Component { constructor(props) { super(props); this.store = props.appStore; makeObservable(this, { }); } render() { return ( {this.props.title} this.props.onPress && this.props.onPress()} > {I18n.t('showAll')} ) } })) const styles = StyleSheet.flatten({ home_rectanglecd25b34b: { opacity: 1, flex: 1, paddingVertical: 10, marginTop: 50, }, }) export default ListTitle