24 lines
551 B
TypeScript
24 lines
551 B
TypeScript
|
|
import { Popover, Select } from 'antd';
|
||
|
|
import LlmSettingItems from '../llm-setting-items';
|
||
|
|
|
||
|
|
const LLMSelect = () => {
|
||
|
|
const content = (
|
||
|
|
<div>
|
||
|
|
<LlmSettingItems handleParametersChange={() => {}}></LlmSettingItems>
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
|
||
|
|
return (
|
||
|
|
<Popover content={content} trigger="click" placement="left" arrow={false}>
|
||
|
|
{/* <Button>Click me</Button> */}
|
||
|
|
<Select
|
||
|
|
defaultValue="lucy"
|
||
|
|
style={{ width: '100%' }}
|
||
|
|
dropdownStyle={{ display: 'none' }}
|
||
|
|
/>
|
||
|
|
</Popover>
|
||
|
|
);
|
||
|
|
};
|
||
|
|
|
||
|
|
export default LLMSelect;
|