A pull to refresh
React component.
npm install --save react-web-pull-to-refresh
react-web-pull-to-refresh
provides PullDownToRefresh
component.
A pull to refresh
component. Please wrap a content which should be pull down area.
className (string)
: CSS class name forPullDownToRefresh
displayFlag (boolean)
: displayFlag for loading areapullDownHandler (Function)
: pull down handlerborderHeight (number)
: loading area settingheight (number)
: loading area settingfontSize (string)
: loading area settingthreshold (number)
: loading area settingloadingContent (string | React.Element<*>)
: loading area setting
npm install --global yarn
yarn install
yarn build
yarn start
Open http://localhost:8080/
.
yarn test
Each commit message consists of some types, a subject.
<type>: <subject>
<BLANK LINE>
<body>
Type Must be one of the following:
- feat: A new feature
- fix: A bug fix
- workaround: A workaround
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing or correcting existing tests
- chore: Changes to the build process or auxiliary tools and libraries such as documentation generation
- Add useful tests.
- Add
PullUpToRefresh
component
- https://github.com/ErlendEllingsen/pull-to-reload
- https://gist.github.com/youcune/551f082b6cabe4f4ae5c
- http://qiita.com/zeriyoshi/items/d73d6712400d75dc8bea
See the Releases page on GitHub.
MIT
Kazuhiko Mori (mori.dev.asdf@gmail.com)