Home
last modified time | relevance | path

Searched refs:Alert (Results 1 – 25 of 52) sorted by relevance

123

/expo/apps/native-component-list/src/screens/
H A DAlertScreen.tsx2 import { Alert, Platform } from 'react-native';
9 Alert.prompt('Enter a value', undefined, (text) => console.log(`You entered ${text}`));
13 Alert.alert('Alert Title', 'My Alert Msg', [
38 title: 'Alert',
H A DRemindersScreen.tsx4 import { Alert, Button, ScrollView, StyleSheet, Text, View } from 'react-native';
62 Alert.alert('This calendar does not allow modifications');
76 Alert.alert('Reminder saved successfully');
79 Alert.alert('Reminder not saved successfully', e.message);
86 Alert.alert('Reminder found using getReminderAsync', JSON.stringify(newReminder));
88 Alert.alert('Error finding reminder', e.message);
95 Alert.alert('This calendar does not allow modifications');
104 Alert.alert('Reminder saved successfully');
107 Alert.alert('Reminder not saved successfully', e.message);
115 Alert.alert('Reminder deleted successfully');
[all …]
H A DEventsScreen.tsx4 import { Alert, Platform, ScrollView, StyleSheet, Text, View } from 'react-native';
73 Alert.alert('This calendar does not allow modifications');
105 Alert.alert('Event saved successfully');
108 Alert.alert('Event not saved successfully', e.message);
120 Alert.alert('Error finding event', e.message);
132 Alert.alert('Error finding attendees', e.message);
139 Alert.alert('This calendar does not allow modifications');
150 Alert.alert('Event saved successfully');
153 Alert.alert('Event not saved successfully', e.message);
164 Alert.alert('Event deleted successfully');
[all …]
H A DSecureStoreScreen.tsx4 Alert,
60 Alert.alert('Success!', 'Value: ' + value + ', stored successfully for key: ' + key, [
64 Alert.alert('Error!', e.message, [{ text: 'OK', onPress: () => {} }]);
75 Alert.alert('Success!', 'Value: ' + value + ', stored successfully for key: ' + key, [
79 Alert.alert('Error!', e.message, [{ text: 'OK', onPress: () => {} }]);
90 Alert.alert('Success!', 'Fetched value: ' + fetchedValue, [
94 Alert.alert('Error!', e.message, [{ text: 'OK', onPress: () => {} }]);
105 Alert.alert('Success!', 'Fetched value: ' + fetchedValue, [
109 Alert.alert('Error!', e.message, [{ text: 'OK', onPress: () => {} }]);
116 Alert.alert('Success!', 'Value deleted', [{ text: 'OK', onPress: () => {} }]);
[all …]
H A DCalendarsScreen.tsx4 import { Alert, Platform, ScrollView, StyleSheet, View } from 'react-native';
132 Alert.alert('Calendar saved successfully');
135 Alert.alert('Calendar not saved successfully', e.message);
145 Alert.alert('Calendar saved successfully');
148 Alert.alert('Calendar not saved successfully', e.message);
153 Alert.alert(`Are you sure you want to delete ${calendar.title}?`, 'This cannot be undone.', [
163 Alert.alert('Calendar deleted successfully');
166 Alert.alert('Calendar not deleted successfully', e.message);
H A DNotificationScreen.tsx6 import { Alert, Text, Platform, ScrollView, View } from 'react-native';
200 setTimeout(() => Alert.alert('You clicked on the notification ��'), 1000);
219 Alert.alert(`We don't have permission to present notifications.`);
230 Alert.alert(`We don't have permission to receive remote notifications.`);
314 Alert.alert(`Set the badge number to ${actualNumber}`);
319 Alert.alert(`Cleared the badge`);
333 Alert.alert(`An error occurred un-registering for notifications: ${e}`);
344 Alert.alert(`Notifications dismissed`);
350 Alert.alert(`No notifications to be dismissed`);
356 Alert.alert(`Notification dismissed`);
[all …]
H A DPrintScreen.tsx4 import { Alert, Platform, ScrollView, StyleSheet, Text, View } from 'react-native';
76 Alert.alert('Something went wrong: ', e.message);
90 Alert.alert('Something went wrong: ', e.message);
118 Alert.alert('Something went wrong: ', e.message);
131 Alert.alert('Something went wrong: ', e.message);
176 Alert.alert('Successfully printed to PDF', 'Do you want to print this file to the printer?', [
191 Alert.alert('Something went wrong: ', e.message);
H A DFileSystemScreen.tsx13 import { Alert, ScrollView, Text, Platform } from 'react-native';
193 Alert.alert('File Info:', JSON.stringify(info), [{ text: 'OK', onPress: () => {} }]);
204 Alert.alert('Result', result);
206 Alert.alert('Error', e.message);
215 Alert.alert('Result', JSON.stringify(result, null, 2));
217 Alert.alert('Error', e.message);
228 Alert.alert('Result', result);
230 Alert.alert('Error', e.message);
336 <ListButton onPress={this._alertFreeSpace} title="Alert free space" />
H A DDocumentPickerScreen.tsx3 import { Alert, FlatList, Image, Platform, Text, View } from 'react-native';
29 Alert.alert('Cancelled');
H A DMailComposerScreen.tsx3 import { Alert, StyleSheet, Text, View } from 'react-native';
54 Alert.alert(`Something went wrong: ${error.message}`);
H A DExpoApisScreen.tsx22 'Alert',
H A DFaceDetectorScreen.tsx4 import { Alert, Image, PixelRatio, Platform, ScrollView, StyleSheet, View } from 'react-native';
76 Alert.alert('Permission required!', 'You must allow accessing images in order to proceed.');
H A DGestureHandlerSwipeableScreen.tsx2 import { Alert, StyleSheet, Text, View } from 'react-native';
9 <RectButton style={styles.rectButton} onPress={() => Alert.alert(item.from)}>
/expo/home/utils/
H A DPermissionUtils.ts2 import { Alert, Linking } from 'react-native';
10 return Alert.alert(
/expo/home/screens/SettingsScreen/
H A DConstantsSection.tsx4 import { Clipboard, Alert } from 'react-native';
16 Alert.alert('Clipboard', 'The device ID has been copied to your clipboard');
22 Alert.alert('Clipboard', `The app's version has been copied to your clipboard.`);
25 Alert.alert('Clipboard', `Something went wrong - the app's version is not available.`);
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/Alert/
H A DAlert.d.ts90 export const Alert: AlertStatic; constant
91 export type Alert = AlertStatic; alias
H A DAlert.js.flow31 declare class Alert {
49 module.exports = Alert;
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Alert/
H A DAlert.d.ts90 export const Alert: AlertStatic; constant
91 export type Alert = AlertStatic; alias
H A DAlert.js.flow31 declare class Alert {
49 module.exports = Alert;
/expo/apps/native-component-list/src/screens/WebBrowser/
H A DWebBrowserScreen.tsx4 import { Alert, Platform, ScrollView, StyleSheet, Text, View } from 'react-native';
49 Alert.alert('Result', JSON.stringify(result, null, 2));
58 Alert.alert('Result', JSON.stringify(result, null, 2));
67 Alert.alert('Result', JSON.stringify(result, null, 2));
72 Alert.alert('Result', JSON.stringify(result, null, 2));
/expo/apps/test-suite/tests/
H A Dhelpers.js4 import { Alert } from 'react-native';
9 return new Promise((resolve) => Alert.alert(message, null, [{ text: 'OK', onPress: resolve }]));
/expo/apps/test-suite/screens/
H A DSelectScreen.js4 import { Alert, FlatList, Linking, StyleSheet, Text, TouchableOpacity, View } from 'react-native';
155 Alert.alert('Cannot Run Tests', 'You must select at least one test to run.');
/expo/apps/native-component-list/src/screens/Reanimated/
H A DReanimatedSwipeable.tsx2 import { StyleSheet, View, Text, Dimensions, Alert } from 'react-native';
60 Alert.alert('Removed');
/expo/apps/native-component-list/src/screens/MediaLibrary/
H A DMediaDetailsScreen.tsx5 import { ScrollView, StyleSheet, View, Alert } from 'react-native';
59 Alert.alert('Access to all photos is required to do this operation');
/expo/apps/native-component-list/src/screens/Clipboard/
H A DClipboardScreen.tsx4 import { Text, ScrollView, StyleSheet, Alert } from 'react-native';
115 Alert.alert('Permission required!', 'You must allow accessing images in order to proceed.');

123