@uppy/provider-views
Version:
View library for Uppy remote provider plugins.
51 lines (35 loc) • 1.39 kB
Markdown
<img src="https://uppy.io/img/logo.svg" width="120" alt="Uppy logo: a smiling puppy above a pink upwards arrow" align="right">
[](https://www.npmjs.com/package/@uppy/provider-views)



View library for Uppy remote provider plugins.
Uppy is being developed by the folks at [Transloadit](https://transloadit.com),
a versatile file encoding service.
```js
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)
}
}
```
> Unless you are creating a custom provider plugin, you do not need to install
> this.
```bash
$ npm install @uppy/provider-views
```
<!-- Undocumented currently
Documentation for this plugin can be found on the [Uppy website](https://uppy.io/docs/DOC_PAGE_HERE).
-->
[](./LICENSE).