@prosperitainova/dumbo-react-native
Version:
Dumbo for React Native Library
16 lines (15 loc) • 506 B
JavaScript
;
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