Commit fe67afd1 authored by Dorian Goepp's avatar Dorian Goepp
Browse files

Code documentation

parent 1dc8929a
......@@ -2,6 +2,16 @@ import React, {Component} from 'react';
import Form from 'react-jsonschema-form';
import { merge } from 'lodash/object';
* This class will look for the `modes` attribute if the class passed as the `component` property. This object is used
* to add buttons to show a readme about the component or a settings form.
* All changes to the node's settings are saved through the updateConfig function (passed as props).
* Expected React properties :
* - component: class for the component to be instanciated
* - updateConfig & node: as provided by the `Board` component to all its children
export class Modal extends Component {
constructor(props) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment