MCPcopy
hub / github.com/transloadit/uppy / installPlugin

Method installPlugin

packages/@uppy/react/src/Dashboard.ts:50–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 }
49
50 installPlugin(): void {
51 const { uppy, ...options } = {
52 id: 'Dashboard',
53 ...this.props,
54 inline: true,
55 target: this.container,
56 }
57 uppy.use(DashboardPlugin<M, B>, options)
58
59 this.plugin = uppy.getPlugin(options.id)!
60 }
61
62 uninstallPlugin(props = this.props): void {
63 const { uppy } = props

Callers 2

componentDidMountMethod · 0.95
componentDidUpdateMethod · 0.95

Calls 2

useMethod · 0.80
getPluginMethod · 0.80

Tested by

no test coverage detected