{"size": 304, "ext": "js", "max_stars_repo_path": "src/details/RaBox.js", "max_stars_repo_name": "trodery/ra-compact-ui", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/details/RaBox.js", "max_issues_repo_name": "trodery/ra-compact-ui", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/details/RaBox.js", "max_forks_repo_name": "trodery/ra-compact-ui", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.3846153846, "max_line_length": 81, "alphanum_fraction": 0.6282894737}
import React, { Children, cloneElement } from 'react'
import Box from '@material-ui/core/Box'

const RaBox = ({ children, props }) => (
    <Box {...props}>
        {Children.map(children, (ch, index) => cloneElement(ch, { key: index }))}
    </Box>
)

RaBox.displayName = "RaBox";

export default RaBox
