29 lines
486 B
JavaScript
29 lines
486 B
JavaScript
|
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') },
|
||
|
],
|
||
|
|
||
|
)
|
||
|
}
|
||
|
|
||
|
}
|