All Projects → jianliaoim → react-lite-misc

jianliaoim / react-lite-misc

Licence: other
Misc components used in Talk by Teambition

Programming Languages

coffeescript
4710 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
Cirru
14 projects

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].