💄Feat show the size of file and prepare for subsequent upload restrictions

This commit is contained in:
Clivia
2024-08-02 09:46:16 +08:00
parent e5bf27e716
commit b049ae269b
4 changed files with 23 additions and 2 deletions

View File

@@ -39,6 +39,7 @@
url={`${file?.url}`}
name={file.name}
type={file.type}
size={file?.size}
dismissible={true}
on:dismiss={() => {
// Remove the file from the chatFiles array