1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | import Component from './Component' class UnsupportedNodeComponent extends Component { render($$) { return $$('pre') .addClass('content-node unsupported') .attr({ 'data-id': this.props.node.id, contentEditable: false }) .append( JSON.stringify(this.props.node.properties, null, 2) ) } } export default UnsupportedNodeComponent |