https://github.com/hecom-rn/basicwrapper
基础封装高阶组件,加入刷新图标。
https://github.com/hecom-rn/basicwrapper
Last synced: 9 months ago
JSON representation
基础封装高阶组件,加入刷新图标。
- Host: GitHub
- URL: https://github.com/hecom-rn/basicwrapper
- Owner: hecom-rn
- License: mit
- Created: 2019-04-20T03:42:19.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-07-10T07:25:05.000Z (12 months ago)
- Last Synced: 2025-09-14T15:26:01.033Z (10 months ago)
- Language: TypeScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BasicWrapper
[](https://www.npmjs.com/package/@hecom/wrapper-basic)
[](https://travis-ci.org/hecom-rn/BasicWrapper)
这是用于加载状态封装的高阶组件,增加了`apiRefresh`接口给待封装的组件,参数也被取出后传入。
只导出高阶组件,`(WrappedComponent) => React.PureComponent`格式。