import { memo, useCallback, } from 'react' import { RiAttachmentLine, } from '@remixicon/react' import FileFromLinkOrLocal from '../file-from-link-or-local' import ActionButton from '@/app/components/base/action-button' import cn from '@/utils/classnames' import type { FileUpload } from '@/app/components/base/features/types' import { TransferMethod } from '@/types/app' type FileUploaderInChatInputProps = { fileConfig: FileUpload } const FileUploaderInChatInput = ({ fileConfig, }: FileUploaderInChatInputProps) => { const renderTrigger = useCallback((open: boolean) => { return ( ) }, []) return ( ) } export default memo(FileUploaderInChatInput)