npm install --save react-native-progresshud
Using the HUD in your app will usually look like this:
import ProgressHUD from 'react-native-progresshud';
class demo extends Component {
render() {
return (
<View style={styles.container}>
...
<ProgressHUD showHUD={true} showLoading ={true} text ='Loading...'/>
</View>
);
}
}