docs: remove unseless TreeNode in Tree demo (#25578)

This commit is contained in:
zoomdong 2020-07-11 12:52:16 +08:00 committed by GitHub
parent ba3f84f5c5
commit 12beeff3d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 6 deletions

View File

@ -17,8 +17,6 @@ Controlled mode lets parent nodes reflect the status of child nodes more intelli
import React, { useState } from 'react';
import { Tree } from 'antd';
const { TreeNode } = Tree;
const treeData = [
{
title: '0-0',

View File

@ -16,8 +16,6 @@ The most basic usage, tell you how to use checkable, selectable, disabled, defau
```tsx
import { Tree } from 'antd';
const { TreeNode } = Tree;
const treeData = [
{
title: 'parent 1',

View File

@ -17,8 +17,6 @@ To load data asynchronously when click to expand a treeNode.
import React, { useState } from 'react';
import { Tree } from 'antd';
const { TreeNode } = Tree;
interface DataNode {
title: string;
key: string;