();
return (
divRef.current!}
showSearch
placement="bottomLeft"
prefix="Prefix"
open
suffixIcon={icon}
styles={{
root: { zIndex: 1 },
popup: {
root: {
zIndex: 1,
maxHeight: 400,
overflow: 'auto',
},
},
}}
value={value}
placeholder="Please select"
allowClear
treeDefaultExpandAll
onChange={setValue}
treeData={treeData}
/>
);
};
const App: React.FC = () => {
const [locale] = useLocale(locales);
return (
);
};
export default App;