https://github.com/dxcweb/fs-loading
react与react-native loading组件
https://github.com/dxcweb/fs-loading
Last synced: 12 months ago
JSON representation
react与react-native loading组件
- Host: GitHub
- URL: https://github.com/dxcweb/fs-loading
- Owner: dxcweb
- Created: 2016-12-21T15:19:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-05T09:14:18.000Z (over 8 years ago)
- Last Synced: 2025-05-07T21:07:13.734Z (about 1 year ago)
- Language: JavaScript
- Size: 529 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fs-loading
react版本loading函数,通过loading.show()和loading.hide()来控制loading的显示和隐藏
## install
```
npm install fs-loading --save
```
## Development
```
npm install
npm start
```
## Example
[http://github.dxcweb.com/fs-loading/](http://github.dxcweb.com/fs-loading/ "http://github.dxcweb.com/fs-loading/")
## Usage
import loading from 'fs-loading
loading.show()
loading.hide()
或者
import {Loading} from 'fs-loading'
## API
loading.show(title,options)
###options
options={
ratio:1
}