Drag files here or click to browse
Any file type · up to 10.00 MB each · multiple files welcome
Nothing uploaded yet
Drop a file or pick a sample and the response from Fileboy shows up here.
import { FileboyProvider, FileUploader } from "@cd2/fileboy-react"
<FileboyProvider publicKey="YOUR_PUBLIC_KEY">
<FileUploader
fileName={() => "my-file"}
metadata={() => ({"usage":"avatar"})}
onFileUploaded={file => console.log(file.id)}
/>
</FileboyProvider>