Quantumbraid's picture
download
raw
906 Bytes
import React from "react";
import Dropzone from "../../";
export class Events extends React.Component {
render() {
return (
<section>
<div className="dropzone">
<Dropzone
onDrop={(acceptedFiles, fileRejections, event) =>
console.log(acceptedFiles, fileRejections, event)
}
onDragEnter={(event) => console.log(event)}
onDragOver={(event) => console.log(event)}
onDragLeave={(event) => console.log(event)}
>
{({ getRootProps, getInputProps }) => (
<div {...getRootProps()}>
<input {...getInputProps()} />
<p>
Try dropping some files here, or click to select files to
upload.
</p>
</div>
)}
</Dropzone>
</div>
</section>
);
}
}

Xet Storage Details

Size:
906 Bytes
·
Xet hash:
819c0432b36f920cdcc49ce465d6ad1e8a8623f44098187f15714d13b89fbe57

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.