Browse Source

Merge pull request #1110 from asmt3/patch-1

Update react.md
Renée Kooi 6 years ago
parent
commit
49b8d97157
1 changed files with 1 additions and 1 deletions
  1. 1 1
      website/src/docs/react.md

+ 1 - 1
website/src/docs/react.md

@@ -27,7 +27,7 @@ All other props are passed as options to the plugin.
 ```js
 const Uppy = require('@uppy/core')
 const Tus = require('@uppy/tus')
-const DragDrop = require('@uppy/drag-drop')
+const { DragDrop } = require('@uppy/react')
 
 const uppy = Uppy({
   meta: { type: 'avatar' },