浏览代码

docs: allowedFileTypes is a property of restrictions

Renée Kooi 5 年之前
父节点
当前提交
82e2100ad8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      website/src/docs/uppy.md

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

@@ -554,7 +554,7 @@ uppy.setFileMeta('myfileID', { resize: 1500 })
 
 ### `uppy.setOptions(opts)`
 
-Change Uppy options on the fly. For example, to conditionally change `allowedFileTypes` or `locale`:
+Change Uppy options on the fly. For example, to conditionally change `restrictions.allowedFileTypes` or `locale`:
 
 ```js
 const uppy = Uppy()