()
| 14 | import { getAuth } from 'firebase/auth'; |
| 15 | |
| 16 | export const App = () => { |
| 17 | const firebaseApp = useFirebaseApp(); |
| 18 | const auth = getAuth(firebaseApp); |
| 19 | |
| 20 | useInitPerformance(async (firebaseApp) => { |
| 21 | const { getPerformance } = await import('firebase/performance'); |
| 22 | return getPerformance(firebaseApp); |
| 23 | }); |
| 24 | |
| 25 | return ( |
| 26 | <div className="flex flex-wrap justify-around p-4"> |
| 27 | <AuthProvider sdk={auth}> |
| 28 | <Card title="Authentication"> |
| 29 | <Auth /> |
| 30 | </Card> |
| 31 | <Card title="Firestore"> |
| 32 | <Firestore /> |
| 33 | </Card> |
| 34 | <Card title="Functions"> |
| 35 | <Functions /> |
| 36 | </Card> |
| 37 | <Card title="Realtime Database"> |
| 38 | <RealtimeDatabase /> |
| 39 | </Card> |
| 40 | <Card title="Remote Config"> |
| 41 | <RemoteConfig /> |
| 42 | </Card> |
| 43 | <Card title="Storage"> |
| 44 | <Storage /> |
| 45 | </Card> |
| 46 | </AuthProvider> |
| 47 | <Analytics /> |
| 48 | </div> |
| 49 | ); |
| 50 | }; |
nothing calls this directly
no test coverage detected