Skip to content

Instantly share code, notes, and snippets.

@ahmednuaman
Created April 22, 2024 15:54
Show Gist options
  • Save ahmednuaman/a37546f8fe208efc6deeb1ecfbcda554 to your computer and use it in GitHub Desktop.
Save ahmednuaman/a37546f8fe208efc6deeb1ecfbcda554 to your computer and use it in GitHub Desktop.
<Form.Control
accept='.jpg,.png'
multiple={true}
onChange={(e) => parseFiles(e.target.files).then(sendFiles)}
type='file'
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment