Skip to content

Conversation

@emir89
Copy link
Contributor

@emir89 emir89 commented Apr 29, 2025

No description provided.

import "@uppy/drag-drop/dist/style.css";
import "@uppy/progress-bar/dist/style.css";

export interface FileUploadProps extends TestableComponent {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FileUploadProps probaby should extend also Uppy and HTMLDivElement. Or is there a reason not to do so?

Properties forwarded to Uppy could also be included by the uppyProps pattern that we use also in other components. This way it is more distinct what are our properties, what properties come from Uppy.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't notice the particular reason for this, but if it makes more sense according to the certain pattern, then sure it should be adjusted.

}

export const FileUpload: FC<FileUploadProps> = ({
export { ProgressBar as UppyProgressBar, DragDrop } from "@uppy/react";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be exported as FileUploadProgressBar and FileUploadDragDrop.

@haschek haschek changed the base branch from develop to feature/createFileUploadComponentForBetterUppyUsage-CMEM-5925 August 25, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants