Back to Uppy

@uppy/provider-views

packages/@uppy/provider-views/README.md

0.25.61.4 KB
Original Source

@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

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)
  }
}

Installation

Unless you are creating a custom provider plugin, you do not need to install this.

bash
$ npm install @uppy/provider-views
<!-- Undocumented currently ## Documentation Documentation for this plugin can be found on the [Uppy website](https://uppy.io/docs/DOC_PAGE_HERE). -->

License

The MIT License.