项目作者: ni3galave

项目描述 :
React X editable using react-bootstrap.
高级语言: JavaScript
项目地址: git://github.com/ni3galave/react-x-editable.git
创建时间: 2017-09-02T20:55:36Z
项目社区:https://github.com/ni3galave/react-x-editable

开源协议:MIT License

下载


NPM License

NPM

react-x-editable

X-editable for react using react-bootstrap.

Quick Overview

react-x-editable allows text in place edit or click to edit functionality.

Features :

  • Support both inline and popup text edit mode (Form/Popover).
  • Build in supported inputs are Text, Textarea, Select,Checklist (check box list)
  • Supported Customizable inputs where user can create own user defined inputs easily.

    Getting started

    1. npm install react-x-editable
    2. Or
    3. git clone https://github.com/ni3galave/react-x-editable.git
    4. cd react-x-editable/
    5. npm install
    6. npm start

    Then open http://localhost:8080/ to see demo examples.

Live Demo | Documentation

Quick Usage :

Simple Text field example with popover edit mode.

  1. import Editable from 'react-x-editable';
  2. ..
  3. ...
  4. render(){
  5. return (
  6. <Editable
  7. name="username"
  8. dataType="text"
  9. mode="popup"
  10. title="Please enter username"
  11. ></Editable>
  12. );
  13. }
  14. ....
  15. ...

License

MIT.