|
6 年之前 | |
---|---|---|
.. | ||
src | 6 年之前 | |
types | 6 年之前 | |
LICENSE | 6 年之前 | |
README.md | 6 年之前 | |
package.json | 6 年之前 |
View library for Uppy remote provider plugins.
Uppy is being developed by the folks at Transloadit, a versatile file encoding service.
const Plugin = require('@uppy/core/lib/plugin')
const ProviderViews = require('@uppy/provider-views')
class GoogleDrive extends Plugin {
constructor () { /* snip */ }
install () {
this.view = new ProviderViews(this)
// snip
}
render (state) {
return this.view.render(state)
}
}
Unless you are creating a custom provider plugin, you do not need to install this.
$ npm install @uppy/provider-views --save