Return files object from uploader, useful to display things differently before clicking startUpload
<Uploader
request={{
url: 'http://test.dev',
}}
uploadOnSelection={false}
>
{({ onFiles, files }) => {
if (files) <div>Files selected, but upload not started!</div>
return (
<div>
<UploadField onFiles={onFiles}>
<div>
Click here and select a file!
</div>
</UploadField>
</div>
);
}}
</Uploader>