Skip to content

insin/react-objecteditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-objecteditor

An <ObjectEditor/> React component.

React's immutability helpers are used when making edits to the object, so the object passed in will not be mutated.

Props

value (Object) - the object to be displayed/edited.

onChange (function(Object)) - callback which is called with the edited object on every change.

editing (Boolean) - if true, the object's properties will be editable and new properties can be added.

TODO

  • Deletion
  • Editor config
  • Pluggable custom editors

MIT Licensed

Releases

No releases published

Packages

No packages published