text: import React, { Component } from 'react';
  import SortableTree from 'react-sortable-tree';
  import 'react-sortable-tree/style.css'; // This only needs to be imported once in your app
  
  export default class TaskTree extends Component {
    constructor(props) {
      super(props);
  
      this.state = {
        treeData: [{ title: 'Chicken', expanded: true, children: [{ title: 'Egg' }] }],
      };
    }
  
    render() {
      return (
        <div style={{ height: 400 }}>
          <SortableTree
            treeData={this.state.treeData}
            onChange={treeData => this.setState({ treeData })}
          />
        </div>
      );
    }
  }
  