--- order: 0 title: zh-CN: 基本 en-US: Basic --- ## zh-CN 最简单的用法。 ## en-US The most basic usage. ```tsx import { TreeSelect } from 'antd'; import React, { useState } from 'react'; const { TreeNode } = TreeSelect; const App: React.FC = () => { const [value, setValue] = useState(undefined); const onChange = (newValue: string) => { setValue(newValue); }; return ( leaf3} /> ); }; export default App; ```