react-lite-misc
Misc Components of jianliao.com
Last updated 9 years ago by boshen .
MIT · Repository · Bugs · Original npm
$ cnpm install react-lite-misc 
SYNC missed versions from official npm registry.

React Lite Misc Components

Misc components from Talk by Teambition.

Demo: http://ui.talk.ai/react-lite-misc/

Components

  • ColorChooser simple color chooser
  • Copyarea hover input and copy text
  • LoadingIndicator animate three spots as loading
  • SwitchTabs click tabs to switch
  • Switcher iOS style of switching
  • Wheeling debounce wheel events, detect loading more
  • SearchBox
  • 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

Current Tags

  • 1.3.0                                ...           latest (9 years ago)

1 Versions

  • 1.3.0                                ...           9 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (23)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org