mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-23 18:29:09 +00:00
react: 🙈 DragDropPlugin → ProgressBarPlugin
This commit is contained in:
parent
edc0cb29bc
commit
151a46d288
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
const React = require('react')
|
||||
const PropTypes = require('prop-types')
|
||||
const UppyCore = require('../core')
|
||||
const DragDropPlugin = require('../plugins/ProgressBar')
|
||||
const ProgressBarPlugin = require('../plugins/ProgressBar')
|
||||
|
||||
const h = React.createElement
|
||||
|
||||
|
|
@ -19,7 +19,7 @@ class ProgressBar extends React.Component {
|
|||
)
|
||||
delete options.uppy
|
||||
|
||||
uppy.use(DragDropPlugin, options)
|
||||
uppy.use(ProgressBarPlugin, options)
|
||||
|
||||
this.plugin = uppy.getPlugin('ProgressBar')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue