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