uppy/packages/@uppy/provider-views
Renée Kooi 2b91a96c95
Release
2020-01-15 16:39:45 +01:00
..
src ProviderViews: Improve Instagram’s “video thumbnail” 2020-01-07 16:51:16 +01:00
types Move ProviderView to @uppy/provider-views. 2018-06-14 16:31:19 +02:00
LICENSE Move ProviderView to @uppy/provider-views. 2018-06-14 16:31:19 +02:00
package.json Release 2020-01-15 16:39:45 +01:00
README.md Insert missing documentation links. 2018-06-18 13:20:19 +02:00

@uppy/provider-views

Uppy logo: a superman puppy in a pink suit

Build Status

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

License

The MIT License.