Browse Source

docs: clarify that the @uppy/react imports are either/or

Renée Kooi 6 years ago
parent
commit
49964d25ec

+ 2 - 0
website/src/docs/react-dashboard-modal.md

@@ -17,7 +17,9 @@ npm install @uppy/react
 ```
 
 ```js
+// Either:
 import DashboardModal from '@uppy/react/lib/DashboardModal'
+// Or:
 import { DashboardModal } from '@uppy/react'
 ```
 

+ 2 - 0
website/src/docs/react-dashboard.md

@@ -17,7 +17,9 @@ npm install @uppy/react
 ```
 
 ```js
+// Either:
 import Dashboard from '@uppy/react/lib/Dashboard'
+// Or:
 import { Dashboard } from '@uppy/react'
 ```
 

+ 2 - 0
website/src/docs/react-dragdrop.md

@@ -18,7 +18,9 @@ npm install @uppy/react
 ```
 
 ```js
+// Either:
 import DragDrop from '@uppy/react/lib/DragDrop';
+// Or:
 import { DragDrop } from '@uppy/react';
 ```
 

+ 2 - 0
website/src/docs/react-progressbar.md

@@ -18,7 +18,9 @@ npm install @uppy/react
 ```
 
 ```js
+// Either:
 import ProgressBar from '@uppy/react/lib/ProgressBar'
+// Or:
 import { ProgressBar } from '@uppy/react'
 ```
 

+ 2 - 0
website/src/docs/react-statusbar.md

@@ -18,7 +18,9 @@ npm install @uppy/react
 ```
 
 ```js
+// Either:
 import StatusBar from '@uppy/react/lib/StatusBar'
+// Or:
 import { StatusBar } from '@uppy/react'
 ```