mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-24 02:46:39 +00:00
|
|
||
|---|---|---|
| .. | ||
| src | ||
| .npmignore | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
@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
import Plugin from '@uppy/core/lib/plugin'
import { ProviderViews } from '@uppy/provider-views'
class GoogleDrive extends UIPlugin {
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