1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00
Files
joplin/ReactNativeClient/lib/components/SafeAreaView.js
2020-02-09 15:48:09 +00:00

13 lines
306 B
JavaScript

const React = require('react');
import { Platform, SafeAreaView } from 'react-native';
function JoplinSafeAreaView(props) {
if (Platform.OS === 'ios') {
return <SafeAreaView {...props}>{props.children}</SafeAreaView>;
} else {
throw new Error('Not done');
}
}
module.exports = JoplinSafeAreaView;