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
