Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 622 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 622 Bytes

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