How to use the react-d3-tree.defaultProps function in react-d3-tree

To help you get started, we’ve selected a few react-d3-tree 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 De-Bux / De-Bux / src / components / D3Tree.js View on Github external
constructor(props) {
    super(props);
    Tree.defaultProps.orientation = 'vertical'
    this.state = {};
  }
  componentDidMount() {

react-d3-tree

React component to create interactive D3 tree hierarchies

MIT
Latest version published 12 months ago

Package Health Score

66 / 100
Full package analysis

Popular react-d3-tree functions