Преглед на файлове

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

Renée Kooi преди 7 години
родител
ревизия
34a820b36b
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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: {}`