Bläddra i källkod

remove DragDrop and ProgressBar from tests since they are not used

leave comments to test using multiple CSS files from plugins — they break each other 😱
Artur Paikin 6 år sedan
förälder
incheckning
a7ac93a1c0
1 ändrade filer med 7 tillägg och 4 borttagningar
  1. 7 4
      test/endtoend/create-react-app/src/App.js

+ 7 - 4
test/endtoend/create-react-app/src/App.js

@@ -2,8 +2,11 @@ import React, { Component } from 'react'
 import Uppy from '@uppy/core'
 import Tus from '@uppy/tus'
 import GoogleDrive from '@uppy/google-drive'
-import { Dashboard, DashboardModal, DragDrop, ProgressBar } from '@uppy/react'
-import '@uppy/dashboard/dist/style.min.css'
+import { Dashboard, DashboardModal } from '@uppy/react'
+// import { Dashboard, DashboardModal, DragDrop, ProgressBar } from '@uppy/react'
+import '@uppy/dashboard/dist/style.css'
+// import '@uppy/drag-drop/dist/style.css'
+// import '@uppy/progress-bar/dist/style.css'
 
 class App extends Component {
   constructor (props) {
@@ -80,7 +83,7 @@ class App extends Component {
           />
         </div>
 
-        <h2>Drag Drop Area</h2>
+        {/* <h2>Drag Drop Area</h2>
         <div id="drag-drop">
           <DragDrop
             uppy={this.uppy}
@@ -99,7 +102,7 @@ class App extends Component {
             uppy={this.uppy}
             hideAfterFinish={false}
           />
-        </div>
+        </div> */}
       </div>
     )
   }