MCPcopy
hub / github.com/BlueWallet/BlueWallet / showAlert

Function showAlert

components/Alert.ts:25–31  ·  view source on GitHub ↗
(title: string | undefined, message: string, buttons: AlertButton[], options: AlertOptions)

Source from the content-addressed store, hash-verified

23 };
24
25 const showAlert = (title: string | undefined, message: string, buttons: AlertButton[], options: AlertOptions) => {
26 if (Platform.OS === 'ios' && navigationRef.isReady()) {
27 RNAlert.alert(title ?? message, title && message ? message : undefined, buttons, options);
28 } else {
29 RNAlert.alert(title ?? '', message, buttons, options);
30 }
31 };
32
33 return ({
34 title,

Callers 1

Alert.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected