use-file-dialog
Capture one or more files from the user
Source
Docs
Package
Usage
The use-file-dialog hook allows you to capture one or more files from the user without a file input element:
Definition
Exported types
UseFileDialogOptions and UseFileDialogReturnValue types are exported from the @mantine/hooks package;
you can import them in your application: