Buckets:
| import React, { createRef } from "react"; | |
| import Dropzone, { DropzoneRef } from "../../"; | |
| const ref = createRef<DropzoneRef>(); | |
| export const dropzone = ( | |
| <Dropzone ref={ref}> | |
| {({ getRootProps, getInputProps }) => ( | |
| <div {...getRootProps()}> | |
| <input {...getInputProps()} /> | |
| <p>Drop some files here.</p> | |
| <button type="button" onClick={ref.current.open}> | |
| Open file dialog | |
| </button> | |
| </div> | |
| )} | |
| </Dropzone> | |
| ); | |
Xet Storage Details
- Size:
- 471 Bytes
- Xet hash:
- a63c7c1696ff16fad4a2898c505f3f72f85e4da2149fb0210f3d9995c7c73776
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.