Prechádzať zdrojové kódy

examples: Dashboard maxWidth → width

Renée Kooi 7 rokov pred
rodič
commit
bd236d6493

+ 2 - 2
examples/multiple-instances/main.js

@@ -11,7 +11,7 @@ const a = Uppy({
   .use(Dashboard, {
     target: '#a',
     inline: true,
-    maxWidth: 400
+    width: 400
   })
   .use(GoldenRetriever, { serviceWorker: false })
   .run()
@@ -23,7 +23,7 @@ const b = Uppy({
   .use(Dashboard, {
     target: '#b',
     inline: true,
-    maxWidth: 400
+    width: 400
   })
   .use(GoldenRetriever, { serviceWorker: false })
   .run()

+ 1 - 1
examples/redux/main.js

@@ -76,7 +76,7 @@ const uppy = Uppy({
 uppy.use(Dashboard, {
   target: '#app',
   inline: true,
-  maxWidth: 400
+  width: 400
 })
 uppy.use(Tus, { endpoint: 'https://master.tus.io/' })
 uppy.run()