filedrop-svelte
                                
                                
                                
                                    filedrop-svelte copied to clipboard
                            
                            
                            
                        How to use windowDrop with Component?
I want to use multiple FileDrops, therefore disable windowDrop.
I expected
<FileDrop windowDrop="false" on:filedrop={(e) => { files = e.detail.files }}>
        Upload files
</FileDrop>
but I get a TypeScript error. How can I pass the additional option?
Sorry, I just noticed this issue. I'm not sure how I missed it.
Ah, it seems I didn't add window drop as a param on the component. If you need a solution, use the action until I update the package to include it.