Files
lnreader/src/components/Common.js
T
Rajarshee Chatterjee 49160b7d98 Add ESLint and Prettier
2021-09-30 08:06:43 +05:30

28 lines
504 B
JavaScript

import React from 'react';
import {View, StyleSheet} from 'react-native';
const ScreenContainer = ({children, theme}) => (
<View
style={{
flex: 1,
backgroundColor: theme.colorPrimaryDark,
paddingBottom: 16,
}}
>
{children}
</View>
);
const Row = ({children, style}) => (
<View style={[styles.row, style]}>{children}</View>
);
export {ScreenContainer, Row};
const styles = StyleSheet.create({
row: {
flexDirection: 'row',
alignItems: 'center',
},
});