https://github.com/dxcweb/drop-down-menu
https://github.com/dxcweb/drop-down-menu
dropdown-menus react
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dxcweb/drop-down-menu
- Owner: dxcweb
- Created: 2018-03-27T09:32:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-28T01:32:47.000Z (over 8 years ago)
- Last Synced: 2025-08-09T05:02:35.210Z (11 months ago)
- Topics: dropdown-menus, react
- Language: JavaScript
- Size: 932 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pano-loading
react loading组件
## install
```
yarn add pano-loading
或
npm install pano-drop-menu -registry --save
```
## Development
```
yarn
yarn start
```
## Api
### Loading 组件
```
import Loading from "pano-loading";
```
Name
Type
Default
Description
visible
Bool
true
是否可见
overlay
Bool
12
是否开启遮罩
content
String
数据加载中
loading文字内容
### loading 函数
```
import {loading} from "pano-loading";
loading.show();
loading.hide();
```
Name
Type
Default
Description
show
Function(LoadingProps)
NULL
显示Loading,参数:传入Loading 组件的props
hide
Function()
NULL
隐藏Loading