You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-02 22:49:09 +02:00
13 lines
306 B
JavaScript
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;
|