"use strict";

var _icon = _interopRequireDefault(require("../../icon"));

var _react = _interopRequireDefault(require("react"));

var _reactDom = _interopRequireDefault(require("react-dom"));

var _ = _interopRequireDefault(require(".."));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var data = [{
  label: 'Component',
  key: '1',
  icon: /*#__PURE__*/_react["default"].createElement(_icon["default"], {
    type: "favorites-filling"
  }),
  children: [{
    label: 'Form',
    key: '2',
    icon: 'form',
    children: [{
      label: 'Input',
      key: '4'
    }, {
      label: 'Select',
      key: '5'
    }]
  }, {
    label: 'Display',
    key: '3',
    icon: 'form',
    children: [{
      label: 'Table',
      key: '6'
    }]
  }]
}];

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(_["default"], {
  defaultExpandAll: true,
  dataSource: data
}), document.getElementById('tree-demo-6'));