Переглянути джерело

Correct some option names in the documentation

Janko Marohnić 7 роки тому
батько
коміт
6c524f6e7f
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      website/src/docs/fileinput.md

+ 3 - 3
website/src/docs/fileinput.md

@@ -14,12 +14,12 @@ permalink: docs/fileinput/
 ```js
 uppy.use(FileInput, {
   target: '.UppyForm',
-  multipleFiles: true,
+  allowMultipleFiles: true,
   pretty: true,
   inputName: 'files[]',
   locale: {
     strings: {
-      selectToUpload: 'Select to upload'
+      chooseFiles: 'Select to upload'
     }
   }
 })
@@ -43,4 +43,4 @@ The `name` attribute for the `<input type="file">` element.
 
 ### `locale: {}`
 
-Custom text to show on the button when `pretty` is true. There is only one string that can be configured: `strings.selectToUpload`.
+Custom text to show on the button when `pretty` is true. There is only one string that can be configured: `strings.chooseFiles`.