Queue
The Filenest.Queue is used to list all files (in your uploader) ready to be uploaded.
The component must be used as a child of
<Filenest.Root>Example Usage
Render Props
| Prop | Type | Default |
|---|---|---|
uploads | Array<UploadObject> | - |
upload | () => void | - |
meta | { totalProgress: number, isLoading: boolean } | - |
Type References
UploadObject
| Prop | Type | Default |
|---|---|---|
Root | (props: UploadProps) => JSX.Element | - |
UploadProps
| Prop | Type | Default |
|---|---|---|
children | React.ReactNode | ((props: RenderProps) => React.ReactNode) | - |
RenderProps
| Prop | Type | Default |
|---|---|---|
upload | Upload | - |
removeFromQueue | () => void | - |
Upload
| Prop | Type | Default |
|---|---|---|
raw | File | - |
progress | number | - |
isUploading | boolean | - |
isError | boolean | - |
isDone | boolean | - |