⚠️ This is test/experimental code for API integration testing. Do not use in production. Includes: - WellNuo API integration (dashboard, patient context) - Playwright tests for API verification - WebView component for dashboard embedding - API documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
500 B
TypeScript
19 lines
500 B
TypeScript
import { registerRootComponent } from 'expo';
|
|
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
|
import React from 'react';
|
|
|
|
import App from './App';
|
|
|
|
function Root() {
|
|
return (
|
|
<SafeAreaProvider>
|
|
<App />
|
|
</SafeAreaProvider>
|
|
);
|
|
}
|
|
|
|
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
|
|
// It also ensures that whether you load the app in Expo Go or in a native build,
|
|
// the environment is set up appropriately
|
|
registerRootComponent(Root);
|