How to use the flow-view/components.Node.defaultProps function in flow-view

To help you get started, we’ve selected a few flow-view examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fibo / dflow / src / editor / client / components / CanvasNode.js View on Github external
height={bodyHeight}
          width={width}
        >
          <canvas width="{width}" id="{id}" height="{bodyHeight}">
        
      
    )
  }
}

CanvasNode.defaultProps = Object.assign({},
  Node.defaultProps,
  {
    bodyHeight: 200,
    width: 300
  }
)

export default CanvasNode
</canvas>

flow-view

is a visual editor for dataflow programming

MIT
Latest version published 2 years ago

Package Health Score

45 / 100
Full package analysis