JSFiddle - React, Tailwind, and code Playground
by philfreo
HTML
<script type="text/javascript" src="" id="y"></script>
<div id="main"></div>
JavaScript
setTimeout(function() {
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = '//api.filepicker.io/v0/filepicker.js';
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s, x);
}, 1);
setTimeout(function() {
x = '<input type="filepicker-dragdrop" data-fp-apikey="AnJr_0S4pTn-VtYiSCYwkz" data-fp-option-container="modal" data-fp-option-multiple="true" data-fp-option-services="BOX,COMPUTER,DROPBOX,GOOGLE_DRIVE,GMAIL,URL">';
$('#main').html(x);
}, 5000);