@jst_htet/file-picker
v1.0.8
Published
Browser plugin for picking file
Downloads
2
Readme
Browser plugin for picking file
import { pickFile } from '@jst_htet/file-picker';
// single file
const [err, f] = await pickFile();
// multiple files
const [err, farr] = await pickFile({
multiple: true,
accept: '.jpg,.gif'
});