Browse Source

docs: Link to uppy.info() in onBefore*() function descriptions.

Renée Kooi 7 năm trước cách đây
mục cha
commit
34a820b36b
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      website/src/docs/uppy.md

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

@@ -118,7 +118,7 @@ onBeforeFileAdded: (currentFile, files) => {
 }
 ```
 
-Note: it’s up to you to show a notification to the user about file not passing validation. We recommend showing the info message and logging to console for debugging.
+Note: it’s up to you to show a notification to the user about file not passing validation. We recommend showing a message using [uppy.info()](#uppy-info) and logging to console for debugging.
 
 
 <a id="onBeforeUpload"></a>
@@ -154,7 +154,7 @@ onBeforeUpload: (files) => {
 }
 ```
 
-Note: it’s up to you to show a notification to the user about file not passing validation. We recommend showing the info message and logging to console for debugging.
+Note: it’s up to you to show a notification to the user about file not passing validation. We recommend showing a message using [uppy.info()](#uppy-info) and logging to console for debugging.
 
 ### `locale: {}`