UNPKG

uppy

Version:

Extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:

15 lines (13 loc) 380 B
const { h } = require('preact') const CameraIcon = require('./CameraIcon') module.exports = ({ onSnapshot }) => { return ( <button class="UppyButton--circular UppyButton--red UppyButton--sizeM uppy-Webcam-recordButton" type="button" title="Take a snapshot" aria-label="Take a snapshot" onclick={onSnapshot}> {CameraIcon()} </button> ) }