()
| 81 | }; |
| 82 | |
| 83 | export const RealtimeDatabase = () => { |
| 84 | const firebaseApp = useFirebaseApp(); |
| 85 | const database = getDatabase(firebaseApp); |
| 86 | return ( |
| 87 | <SuspenseWithPerf fallback={<LoadingSpinner />} traceId="RTDB-root"> |
| 88 | <DatabaseProvider sdk={database}> |
| 89 | <AuthWrapper fallback={<span>Sign in to use this component</span>}> |
| 90 | <CardSection title="Get/Set object value"> |
| 91 | <Counter /> |
| 92 | </CardSection> |
| 93 | <CardSection title="Work with lists of data"> |
| 94 | <AnimalsList /> |
| 95 | </CardSection> |
| 96 | </AuthWrapper> |
| 97 | </DatabaseProvider> |
| 98 | </SuspenseWithPerf> |
| 99 | ); |
| 100 | }; |
nothing calls this directly
no test coverage detected