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.
16 lines
275 B
React
16 lines
275 B
React
10 years ago
|
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;
|