mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-23 18:29:09 +00:00
- uppy@0.27.1 - @uppy/aws-s3-multipart@0.27.1 - @uppy/aws-s3@0.27.1 - @uppy/companion-client@0.27.1 - @uppy/companion@0.14.1 - @uppy/dashboard@0.27.1 - @uppy/drag-drop@0.27.1 - @uppy/dropbox@0.27.1 - @uppy/file-input@0.27.1 - @uppy/form@0.27.1 - @uppy/golden-retriever@0.27.1 - @uppy/google-drive@0.27.1 - @uppy/informer@0.27.1 - @uppy/instagram@0.27.1 - @uppy/progress-bar@0.27.1 - @uppy/provider-views@0.27.1 - @uppy/react@0.27.1 - @uppy/redux-dev-tools@0.27.1 - @uppy/status-bar@0.27.1 - @uppy/thumbnail-generator@0.27.1 - @uppy/transloadit@0.27.1 - @uppy/tus@0.27.1 - @uppy/url@0.27.1 - @uppy/webcam@0.27.1 - @uppy/xhr-upload@0.27.1 |
||
|---|---|---|
| .. | ||
| src | ||
| types | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
@uppy/provider-views
View library for Uppy remote provider plugins.
Uppy is being developed by the folks at Transloadit, a versatile file encoding service.
Example
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)
}
}
Installation
Unless you are creating a custom provider plugin, you do not need to install this.
$ npm install @uppy/provider-views --save