UNPKG

@prosperitainova/dumbo-react-native

Version:
16 lines (15 loc) 506 B
"use strict"; import React from 'react'; import { SafeAreaView, Platform } from 'react-native'; import { SafeAreaView as ContextSafeAreaView } from 'react-native-safe-area-context'; import { jsx as _jsx } from "react/jsx-runtime"; export class SafeAreaWrapper extends React.Component { render() { return Platform.OS === 'ios' ? /*#__PURE__*/_jsx(SafeAreaView, { ...this.props }) : /*#__PURE__*/_jsx(ContextSafeAreaView, { ...this.props }); } } //# sourceMappingURL=index.js.map