File trigger
ProMakes any library button open the file picker, or the camera on phones; useFileTrigger does it from a menu item. Not an M3 component (@windmorph/react-pro).
import { FileTrigger, useFileTrigger } from '@windmorph/react-pro';Part of Windmorph Pro, paid components on the free core, not on sale yet. See the Pro guide for what it includes and to register interest.
Playground
Nothing chosen yet.
Code
Props
Behaviour
multiple
capture
directory