// import * as React from 'react'; // import { // KeyboardAvoidingView, // Platform, // ScrollView, // StatusBar, // View, // } from 'react-native'; // import {SafeAreaView} from 'react-navigation'; // import {ScreenProps} from './screen.props'; // import {isNonScrolling, offsets, presets} from './screen.presets'; // import {useSiteSettings} from '../../providers/site'; // const isIos = Platform.OS === 'ios'; // const Status = ({barStyle}: {barStyle: 'light-content' | 'dark-content'}) => { // const {style} = useSiteSettings(); // return null; // return ( // // ); // }; // function ScreenWithoutScrolling(props: ScreenProps) { // const preset = presets['fixed']; // const style = props.style || {}; // const backgroundStyle = props.backgroundColor // ? {backgroundColor: props.backgroundColor} // : {}; // const Wrapper = props.unsafe ? View : SafeAreaView; // return ( // // // {props.children} // // ); // } // function ScreenWithScrolling(props: ScreenProps) { // const preset = presets['scroll']; // const style = props.style || {}; // const backgroundStyle = props.backgroundColor // ? {backgroundColor: props.backgroundColor} // : {}; // const Wrapper = props.unsafe ? View : SafeAreaView; // return ( // // // // // {props.children} // // // // ); // } // /** // * The starting component on every screen in the app. // * // * @param props The screen props // */ // export function Screen(props: ScreenProps) { // if (isNonScrolling(props.preset || 'fixed')) { // return ; // } else { // return ; // } // } export function Screen() { return null; }