auto-reload-g
v0.1.26
Published
auto-reload
Downloads
97
Readme
auto-reload-g
A component that control timing refresh based on antd with React
Screenshot
Demo
online example: https://favori.gitee.io/gantd-landing (CodePen)
install
Feature
- Friendly with polling
- Easy for users to decide whether to turn on
- Support internationalization
Usage
import React from 'react';
import AutoReload from 'auto-load-g';
function BasicUse() {
return <AutoReload
refresh={() => { console.log('refresh now') }}
/>
}
React.render(<BasicUse/>, mountNode);
API
Contact
- Create a Github issue for bug reports, feature requests, or questions
- Follow @GantFDT for announcements
- Add a ⭐️ star on GitHub to support the project❤️!
Anthor
GantFDT
License
MIT