Hangry/app/config/connectFail.js

29 lines
486 B
JavaScript
Raw Permalink Normal View History

2024-02-27 16:19:55 +08:00
import React, { Component } from "react";
import {
Platform,
StyleSheet,
View,
Alert,
NetInfo,
Geolocation,
TouchableOpacity,
SafeAreaView,
StatusBar,
Image,
TouchableHighlight
} from "react-native";
export default class ConnectFail {
fail(){
Alert.alert(
'',
'Connect failed',
[
{ text: 'Cancel', onPress: () => console.log('Cancel') },
{ text: 'ok', onPress: () => console.log('ok') },
],
)
}
}