@ -9,7 +9,7 @@
````jsx
import { Tree } from 'antd';
const TreeNode = Tree.TreeNode;
import React, { PropTypes } from 'react';
const PropTypes = React.PropTypes;
const x = 3;
const y = 2;
const Demo = React.createClass({
propTypes: {
@ -10,7 +10,6 @@
import { Tree, Tooltip } from 'antd';
import assign from 'object-assign';
import React from 'react';
function contains(root, n) {
let node = n;
@ -9,7 +9,6 @@
function generateTreeNodes(treeNode) {
const arr = [];