aretherecookies-mobile/js/components/FullScreenMessage.js
2018-08-25 10:12:52 -05:00

23 lines
396 B
JavaScript

import React from 'react';
import { View } from 'react-native';
const FullScreenMessage = ({ children }: { children?: any }) => {
return (
<View
style={{
flexDirection: 'column',
flex: 1,
}}>
<View
style={{
height: '50%',
alignItems: 'center',
justifyContent: 'center',
}}>
{children}
</View>
</View>
);
};
export default FullScreenMessage;