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