You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,8 @@
23
23
-[`SuspenseWithPerf`](#SuspenseWithPerf)
24
24
- Authentication
25
25
-[`AuthCheck`](#AuthCheck)
26
+
- Cloud Storage
27
+
-[`StorageImage`](#StorageImage)
26
28
-[ReactFireOptions](#ReactFireOptions)
27
29
28
30
## Providers
@@ -197,6 +199,19 @@ Renders `children` if a user is signed in and meets the required claims. Renders
197
199
| fallback | React.Component |
198
200
| requiredClaims | Object |
199
201
202
+
### `StorageImage`
203
+
204
+
Renders an image based on a Cloud Storage path.
205
+
206
+
#### Props
207
+
208
+
| Property | Type |
209
+
| ----------- | ------------------------ |
210
+
| storagePath | string |
211
+
| storage? | firebase.storage.Storage |
212
+
213
+
...and any other props a normal React `<img>` element can take.
214
+
200
215
### `SuspenseWithPerf`
201
216
202
217
Starts a Firebase Performance Monitoring [trace](https://firebase.google.com/docs/reference/js/firebase.performance.Trace) and ends it when suspense stops suspending.
0 commit comments