9 lines
293 B
TypeScript
9 lines
293 B
TypeScript
import {
|
|
generateUploadButton,
|
|
generateUploadDropzone,
|
|
} from "@uploadthing/react";
|
|
|
|
import type { OurFileRouter } from "@/app/api/uploadthing/core";
|
|
|
|
export const UploadButton = generateUploadButton<OurFileRouter>();
|
|
export const UploadDropzone = generateUploadDropzone<OurFileRouter>();
|