Geen omschrijving

index.ts 299B

12345678910
  1. import { Platform } from 'react-native';
  2. import WebViewIOS from './src/WebView.ios';
  3. import WebViewAndroid from './src/WebView.android';
  4. // We keep this for compatibility reasons.
  5. const WebView = Platform.OS === 'android' ? WebViewAndroid : WebViewIOS;
  6. export { WebView };
  7. export default WebView;