import React from 'react'; import { Tree } from 'antd'; import type { TreeDataNode } from 'antd'; const treeData: TreeDataNode[] = [ { title: 'parent', key: '0', children: [ { title: 'child 1', key: '0-0', disabled: true, }, { title: 'child 2', key: '0-1', disableCheckbox: true, }, ], }, ]; const App: React.FC = () => ( ); export default App;