import React from 'react';
import { View } from 'react-native';

const CardSection = (props) => {
    return (
        <View style={CardSectionStyle.containerStyle}>
            {props.children}
        </View>
            
    );
};

const CardSectionStyle = {
    containerStyle: { 
        borderBottomWidth: 1,
        padding: 5,
        backgroundColor: '#fff',
        justifyContent: 'flex-start',
        flexDirection: 'row',
        borderColor: '#ddd',
        position: 'relative'
    }
};


export {CardSection};