diff --git a/src/frontend/src/modals/IOModal/components/chatView/chatInput/components/buttonSendWrapper/index.tsx b/src/frontend/src/modals/IOModal/components/chatView/chatInput/components/buttonSendWrapper/index.tsx index ff93a9f7b..52a3ff4dc 100644 --- a/src/frontend/src/modals/IOModal/components/chatView/chatInput/components/buttonSendWrapper/index.tsx +++ b/src/frontend/src/modals/IOModal/components/chatView/chatInput/components/buttonSendWrapper/index.tsx @@ -1,14 +1,25 @@ import IconComponent from "../../../../../../../components/genericIconComponent"; import { Case } from "../../../../../../../shared/components/caseComponent"; +import { FilePreviewType } from "../../../../../../../types/components"; import { classNames } from "../../../../../../../utils/utils"; +type ButtonSendWrapperProps = { + send: () => void; + lockChat: boolean; + noInput: boolean; + saveLoading: boolean; + chatValue: string; + files: FilePreviewType[]; +}; + const ButtonSendWrapper = ({ send, lockChat, noInput, saveLoading, chatValue, -}) => { + files, +}: ButtonSendWrapperProps) => { return (