$ npm install react-native-progress-hud --save
$ react-native link react-native-progress-hud
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-progress-hud
and addRNProgressHud.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNProgressHud.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
import RNProgressHud from 'react-native-progress-hud';
// TODO: What to do with the module?
RNProgressHud;