MCPcopy Index your code
hub / github.com/FirebaseExtended/reactfire / Storage

Function Storage

example/withSuspense/Storage.tsx:58–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56};
57
58export function Storage() {
59 const app = useFirebaseApp();
60 return (
61 <SuspenseWithPerf fallback={<LoadingSpinner />} traceId="storage-root">
62 <AuthWrapper fallback={<span>Sign in to use this component</span>}>
63 <StorageProvider sdk={getStorage(app)}>
64 <CardSection title="Fetch image">
65 <FetchImage storagePath="Cloud Storage for Firebase (Independent Icon).png" />
66 </CardSection>
67 <CardSection title="Upload image">
68 <ImageUploadButton />
69 </CardSection>
70 </StorageProvider>
71 </AuthWrapper>
72 </SuspenseWithPerf>
73 );
74}

Callers

nothing calls this directly

Calls 1

useFirebaseAppFunction · 0.85

Tested by

no test coverage detected