import React from 'react';
import { ChatInput } from '@agentscope-ai/chat';
import { SparkMagicNoteLine } from '@agentscope-ai/icons';
export default function () {
const [mode, setMode] = React.useState('');
return
,
label: '文本',
value: 'text',
tooltip: '文本 tooltip'
},
{
icon:
,
label: '图片',
selectedLabel:
图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片图片',
,
value: 'image',
},
{
icon:
,
label: '文件',
value: 'file',
},
]}
value={mode}
closeTip='close tooltip'
onChange={setMode}
desc={
{
setMode('')
}}>
description of {mode}
}
/>
}