浏览代码

note about `note`

Artur Paikin 7 年之前
父节点
当前提交
d7aff81a15
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      website/src/_posts/2017-05-0.17.md

+ 8 - 0
website/src/_posts/2017-05-0.17.md

@@ -59,6 +59,14 @@ Translation: allow only images and videos of any type, minimum 2 and maximum 5 f
 
 
 Basically, use the first options for the simple stuff like limiting uploads to images or 3 files. Use the second option for things like “we need users to upload 5 photos and an audio file, so we can make a short clip out of it”. Let us know if this suits your needs, we are all 👂.
 Basically, use the first options for the simple stuff like limiting uploads to images or 3 files. Use the second option for things like “we need users to upload 5 photos and an audio file, so we can make a short clip out of it”. Let us know if this suits your needs, we are all 👂.
 
 
+Also a new `note` option has been added to the Dashboard, as a simple and lazy way to inform users about the restrictions you choose to set up:
+
+```js
+uppy.use(Dashboard, {
+  note: 'Images and video only, 300kb or less'
+})
+``` 
+
 ## Instagram plugin and UI overhaul
 ## Instagram plugin and UI overhaul
 
 
 Yes, Instagram is now supported in Uppy, so you can easily import all those cat (and dog) and food pictures.
 Yes, Instagram is now supported in Uppy, so you can easily import all those cat (and dog) and food pictures.