Initial commit: expo-popcore-app

This commit is contained in:
imeepos
2025-12-25 16:25:55 +08:00
commit 02d0c807cd
160 changed files with 39560 additions and 0 deletions

9
components/ui/Overlay.js Normal file
View File

@@ -0,0 +1,9 @@
import { Fragment } from 'react'
import { Platform } from 'react-native'
import { FullWindowOverlay } from 'react-native-screens'
// 为了兼容 iOS 和 Android我们需要使用 react-native-screens 的 FullWindowOverlay 组件
/** Don't use .ios file extension as bunchee can't bundle it properly */
const Overlay = Platform.OS === 'ios' ? FullWindowOverlay : Fragment
export default Overlay