{"size": 390, "ext": "js", "max_stars_repo_path": "src/Card.js", "max_stars_repo_name": "geetesh-gupta/react-native-awesome-components", "max_stars_repo_stars_event_min_datetime": "2020-03-07T22:06:54.000Z", "max_stars_repo_stars_event_max_datetime": "2020-03-07T22:06:54.000Z", "max_issues_repo_path": "src/Card.js", "max_issues_repo_name": "geetesh-gupta/react-native-awesome-components", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/Card.js", "max_forks_repo_name": "geetesh-gupta/react-native-awesome-components", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 17.7272727273, "max_line_length": 53, "alphanum_fraction": 0.5871794872}
import React from 'react';
import { View } from 'react-native';
import styles from './styles';
import PropTypes from 'prop-types';

const Card = (props) => {
    return (
        <View style={[styles.cardView, props.style]}>
            {props.children}
        </View>
    );
};

Card.propTypes = {
    style: PropTypes.object,
};

Card.defaultProps = {
    style: {},
};

export { Card };