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

Function Storage

example/withoutSuspense/Storage.tsx:65–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63};
64
65export 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}

Callers

nothing calls this directly

Calls 1

useFirebaseAppFunction · 0.85

Tested by

no test coverage detected