The Queue component renders a list of upload-ready files.
It must reference an Uploader component to find files to display.
This component extends React.ComponentPropsWithoutRef<"div">, meaning it accepts all native div element props.
asChildType: boolean
referencesThe name of an Uploader component this queue references.
Type: string
Required
clearQueueIt is recommended to use the ClearQueueButton component instead.
Type: () => void
filesType: QueueFile[]
isUploadingType: boolean
progressTotal upload progress of all files in the queue in percent.
Type: number
Queue must be used inside a Root component.
When mapping over the files array in a Queue, you can access each file's loading state and progress.