{"size": 494, "ext": "js", "max_stars_repo_path": "src/components/Widget/SpaceRow.js", "max_stars_repo_name": "kellsaro/userspaces-frontend", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/Widget/SpaceRow.js", "max_issues_repo_name": "kellsaro/userspaces-frontend", "max_issues_repo_issues_event_min_datetime": "2020-09-06T03:32:54.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T14:17:29.000Z", "max_forks_repo_path": "src/components/Widget/SpaceRow.js", "max_forks_repo_name": "kellsaro/userspaces-frontend", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 7, "max_forks_count": null, "avg_line_length": 19.0, "max_line_length": 58, "alphanum_fraction": 0.4939271255}
import React from 'react';
import PropTypes from 'utils/propTypes';
import { SpaceInShort } from 'components/Widget';
import { Row } from 'reactstrap';

const SpaceRow = ({ cols }) => {

    return (
        <Row>
        {
            cols.map((space, i) => {
                return ( 
                    <SpaceInShort space={space} key={i} />
                );
            })
        }
        </Row>  
    );
}

SpaceRow.propTypes = {
    cols: PropTypes.array
}

export default SpaceRow;
