import React from 'react'; import { FileUpload, TooltipAnchor } from '~/components/ui'; import { AttachmentIcon } from '~/components/svg'; import { useLocalize } from '~/hooks'; import { cn } from '~/utils'; const AttachFile = ({ isRTL, disabled, handleFileChange, }: { isRTL: boolean; disabled?: boolean | null; handleFileChange: (event: React.ChangeEvent) => void; }) => { const localize = useLocalize(); const isUploadDisabled = disabled ?? false; return (
); }; export default React.memo(AttachFile);