1.0.7 • Published 8 years ago
react-native-arvin-progresshud v1.0.7
Demo
Install
npm install react-native-arvin-progresshud --save
Usage
import Progress from 'react-native-arvin-progresshud';
class YourComponent extends React.Component{
...
render(){
return(
<View>
...
<Progress ref= 'progress'}>
//... content code
</Progress>
</View>
);
}
}
ShowLoading/HideLoading
this.progress.showLoading();
this.progress.hideLoading();
ShowMessage/HideMessage
this.progress.showMessage('message',delayTime);
this.progress.hideMessage(delayTime);