import { TreeSelect, Row, Col } from '@btri-ui/base'; import React, { useState } from 'react'; const { TreeNode } = TreeSelect; const App: React.FC = () => { const [value, setValue] = useState(); const onChange = (newValue: string) => { console.log(newValue); setValue(newValue); }; return ( ); }; export default App;