react-native-arvin-progresshud
v1.0.7
Published
show loading view、
Downloads
2
Maintainers
Readme
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);