()
| 63 | }; |
| 64 | |
| 65 | export function Storage() { |
| 66 | const app = useFirebaseApp(); |
| 67 | return ( |
| 68 | <AuthWrapper fallback={<span>Sign in to use this component</span>}> |
| 69 | <StorageProvider sdk={getStorage(app)}> |
| 70 | <CardSection title="Fetch image"> |
| 71 | <FetchImage storagePath="Cloud Storage for Firebase (Independent Icon).png" /> |
| 72 | </CardSection> |
| 73 | <CardSection title="Upload image"> |
| 74 | <ImageUploadButton /> |
| 75 | </CardSection> |
| 76 | </StorageProvider> |
| 77 | </AuthWrapper> |
| 78 | ); |
| 79 | } |
nothing calls this directly
no test coverage detected