mirror of
https://gitlab.com/wheres-the-tp/ui-mobile.git
synced 2026-01-25 09:34:56 -06:00
23 lines
396 B
JavaScript
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;
|