Ver Fonte

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

Renée Kooi há 7 anos atrás
pai
commit
34a820b36b
1 ficheiros alterados com 2 adições e 2 exclusões
  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: {}`