Skip to content

Thoughtworks-Wuhan/react-x-editable

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

npm install react-x-editable
Or
git clone https://github.com/ni3galave/react-x-editable.git		
cd react-x-editable/		

npm install		
npm start		

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

Quick Usage :

Simple Text field example with popover edit mode.

import Editable from 'react-x-editable';
..
...
render(){
   return (
     <Editable
       name="username"
       dataType="text"
       mode="popup"
       title="Please enter username"
     />
   );
}
....
...

License

MIT.

About

React X editable using react-bootstrap.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.0%
  • HTML 2.4%
  • CSS 1.6%