react-lite-misc
v1.3.0
Published
Misc Components of jianliao.com
Downloads
32
Readme
React Lite Misc Components
Misc components from Talk by Teambition.
Demo: http://ui.talk.ai/react-lite-misc/
Components
ColorChooser
simple color chooserCopyarea
hover input and copy textLoadingIndicator
animate three spots as loadingSwitchTabs
click tabs to switchSwitcher
iOS style of switchingWheeling
debounce wheel events, detect loading moreSearchBox
LoadingMore
ImageLoading
show loading while image is loading
Writing docs for so many components is tough... Read main.jsx for details.
Usage
npm i --save react-lite-misc
Read src/main.jsx for details:
Develop
npm i
You need a static file server for the HTML files. Personally I suggest using Nginx.
Develop:
gulp html # regenerate index.html
webpack-dev-server --hot # enable live-reloading
Build (Pack and optimize js, reivision js and add entry in index.html
):
gulp build
License
MIT