all files / ui/ UnsupportedNodeComponent.js

0% Statements 0/1
100% Branches 0/0
0% Functions 0/1
0% Lines 0/1
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