You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design/components/tree/index.jsx

16 lines
275 B
JavaScript

import React from 'react';
import Tree from 'rc-tree'
var TreeNode = Tree.TreeNode;
var antDTree = React.createClass({
render() {
return <Tree {...this.props} >
{this.props.children}
</Tree>
}
});
antDTree.TreeNode = TreeNode;
module.exports = antDTree;