DEV Community

Sirb Alin Cristian
Sirb Alin Cristian

Posted on

Simple alert in React Native

create simple alert in reactnative

import {Text, Alert} from 'react-native';

<Text onPress={()=> Alert.alert('hello user!')}>click</Text>
Enter fullscreen mode Exit fullscreen mode

Top comments (0)