react-file-viewer icon indicating copy to clipboard operation
react-file-viewer copied to clipboard

How to add custom loader?

Open sadashivm opened this issue 5 years ago • 0 comments

How to add a custom loader in the code. I tried to send the loader component as children but didn't work.

Like, <FileViewer fileType="docx" filePath={docUrl} onError={e => console.log(e)} > <CustomLoader /> </FileViewer>

And also couldn't find any props name, so that I can send a loader component to that props.

Can you please tell me how to show custom loader?

sadashivm avatar May 21 '20 14:05 sadashivm