({ messageKey })
| 5 | import { LoadingSpinner } from '../display/LoadingSpinner'; |
| 6 | |
| 7 | export const RcString = ({ messageKey }) => { |
| 8 | const { data: messageValue } = useRemoteConfigString(messageKey); |
| 9 | |
| 10 | return ( |
| 11 | <CardSection title="Retrieve string 'message'"> |
| 12 | <span>{messageValue}</span> |
| 13 | </CardSection> |
| 14 | ); |
| 15 | }; |
| 16 | |
| 17 | const RemoteConfigWrapper = ({ children }) => { |
| 18 | const { data: remoteConfigInstance } = useInitRemoteConfig(async (firebaseApp) => { |
nothing calls this directly
no test coverage detected