10 lines
337 B
JavaScript
10 lines
337 B
JavaScript
|
import React from 'react';
|
||
|
import {SafeAreaView} from 'react-native';
|
||
|
import {Color} from "../config/Color";
|
||
|
|
||
|
export const ScreenComponent = React.forwardRef((props, ref) => (
|
||
|
<SafeAreaView style={[{flex: 1, backgroundColor: Color.containerBackgroundColor}, props.style]} {...props}>
|
||
|
{props.children}
|
||
|
</SafeAreaView>
|
||
|
));
|