modify upload component to take receivedFile and renderTab as props.

This commit is contained in:
Srayash
2024-12-02 00:16:47 +05:30
parent 6552fe831b
commit bf63509a6e
3 changed files with 11 additions and 3 deletions

View File

@@ -325,8 +325,10 @@ const Documents: React.FC<DocumentsProps> = ({
<div className="w-full h-full bg-transparent flex flex-col items-center justify-center p-8">
{/* Your Upload component */}
<Upload
receivedFile={[]}
setModalState={setModalState}
isOnboarding={isOnboarding}
renderTab={null}
close={() => setModalState('INACTIVE')}
/>
</div>