react-native-progresshub
An implement of ProgressHUD for React-Native, similar to MBProgressHUD for iOS and KProgressHUD for Android.
Installation
$ npm install react-native-progresshub --save
$ rnpm link
Note about React requires
Since react-native 0.25.0, React
should be required from node_modules
.
React Native versions from 0.18 should be working out of the box, for lower
versions you should add react
as a dependency in your package.json
.
Screenshot
General Usage
;
or
var RNProgressHUB = ;
===== API =====
Note : used in Component
Simple text with duration
RNProgressHUB;
Spinner Indeterminate
RNProgressHUB;RNProgressHUB;RNProgressHUB;
Determinate loading
var progress = 01; RNProgressHUB; var interval = ;
Progress within determinate
RNProgressHUB; // progress: 0 ~ 1
Dismiss
RNProgressHUB;
Have problem ?
please contact me : developer_mp@163.com