2024-06-20 19:46:48 +02:00
|
|
|
import {
|
|
|
|
generateUploadButton,
|
2024-09-07 09:12:48 +02:00
|
|
|
generateUploadDropzone
|
2024-06-20 19:46:48 +02:00
|
|
|
} from "@uploadthing/react";
|
|
|
|
|
|
|
|
import type { OurFileRouter } from "@/app/api/uploadthing/core";
|
|
|
|
|
|
|
|
export const UploadButton = generateUploadButton<OurFileRouter>();
|
|
|
|
export const UploadDropzone = generateUploadDropzone<OurFileRouter>();
|