1.0.3 • Published 7 years ago
react-native-dj-block-loading v1.0.3
block loading
Install
npm install --save react-native-dj-block-loading
Usage
Using in your app will usually look like this:
import Loading from 'react-native-dj-block-loading';
<Loading ref="loading"/>
Props
The following props can be used to modify the style and/or behaviour:
Prop | Type | Opt/Required | Default | Note |
---|
Methods
The following methods can be used to open and close the Dialog:
Method | Parameters | Note |
---|---|---|
show | title: 标题、left:左边按钮文案、right:右边按钮文案 | 调起控件. |
cancel | | 隐藏 |