mancala/apps/mobile/src/components/Row.tsx

18 lines
447 B
TypeScript

import * as React from 'react';
import { FunctionComponent } from 'react';
import { View } from 'react-native';
const Row: FunctionComponent<{children: React.ReactNode}> = ({children}) => {
return (
<View style={{
display: 'flex',
flexDirection: 'row',
alignItems: 'center',
justifyContent:'space-between'
}}>
{children}
</View>
);
}
export default Row;