useFileOpener
The file opener, which asks the person for a file and reads it in the
browser, or undefined when the host supplies none. Shape import needs it,
so a host without one gets no Import control.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { useFileOpener } from "@mapcairn/map";
function useFileOpener(): FileOpener | undefined;
Returns
FileOpener | undefined