mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
Introduce `Media.*` to modularize and customize file upload handling. Refactor media-related components to improve usability, add max item limits, overwrite support, and event callbacks.
16 lines
528 B
TypeScript
16 lines
528 B
TypeScript
import { PreviewWrapperMemoized } from "ui/modules/media/components/dropzone/Dropzone";
|
|
import { DropzoneContainer } from "ui/modules/media/components/dropzone/DropzoneContainer";
|
|
|
|
export const Media = {
|
|
Dropzone: DropzoneContainer,
|
|
Preview: PreviewWrapperMemoized
|
|
};
|
|
|
|
export type {
|
|
PreviewComponentProps,
|
|
FileState,
|
|
DropzoneProps,
|
|
DropzoneRenderProps
|
|
} from "ui/modules/media/components/dropzone/Dropzone";
|
|
export type { DropzoneContainerProps } from "ui/modules/media/components/dropzone/DropzoneContainer";
|