mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 21:06:04 +00:00
restructured elements slightly for better customization, updated readme and docs
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
import { PreviewWrapperMemoized } from "./Dropzone";
|
||||
import { DropzoneContainer } from "./DropzoneContainer";
|
||||
import { DropzoneContainer, useDropzone } from "./DropzoneContainer";
|
||||
|
||||
export const Media = {
|
||||
Dropzone: DropzoneContainer,
|
||||
Preview: PreviewWrapperMemoized
|
||||
Preview: PreviewWrapperMemoized,
|
||||
useDropzone: useDropzone
|
||||
};
|
||||
|
||||
export { useDropzone as useMediaDropzone };
|
||||
|
||||
export type {
|
||||
PreviewComponentProps,
|
||||
FileState,
|
||||
|
||||
Reference in New Issue
Block a user