{"size": 526, "ext": "js", "max_stars_repo_path": "src/layout-components/ExampleWrapperSimple/index.js", "max_stars_repo_name": "git11hub/explore-bamburgh-react-admin-dashboard-reactstrap-pro", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/layout-components/ExampleWrapperSimple/index.js", "max_issues_repo_name": "git11hub/explore-bamburgh-react-admin-dashboard-reactstrap-pro", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/layout-components/ExampleWrapperSimple/index.js", "max_forks_repo_name": "git11hub/explore-bamburgh-react-admin-dashboard-reactstrap-pro", "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": 22.8695652174, "max_line_length": 81, "alphanum_fraction": 0.6064638783}
import React from 'react';

import { CardBody, Card, CardHeader } from 'reactstrap';

const ExampleWrapperSimple = (props) => {
  const { sectionHeading, children } = props;

  return (
    <Card className="card-box mb-5">
      {sectionHeading && (
        <CardHeader>
          <div className="card-header--title font-size-md font-weight-bold py-2">
            {sectionHeading}
          </div>
        </CardHeader>
      )}
      <CardBody>{children}</CardBody>
    </Card>
  );
};

export default ExampleWrapperSimple;
