{"size": 1020, "ext": "js", "max_stars_repo_path": "src/components/presentational/PartialView/index.js", "max_stars_repo_name": "clenondavis/react-101", "max_stars_repo_stars_event_min_datetime": "2019-01-18T17:07:50.000Z", "max_stars_repo_stars_event_max_datetime": "2019-02-08T16:14:22.000Z", "max_issues_repo_path": "src/components/presentational/PartialView/index.js", "max_issues_repo_name": "clenondavis/react-101", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/presentational/PartialView/index.js", "max_forks_repo_name": "clenondavis/react-101", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.2452830189, "max_line_length": 63, "alphanum_fraction": 0.6637254902}
// #region load dependencies
import React from 'react';
import PropTypes from 'prop-types';
// #endregion
// #region constant
// #endregion
// #region antd
import {
  Row,
  Col,
} from 'antd';
// #endregion

/**
 * @file components/presentational/PartialView/index.js
 * @module components/presentational/PartialView
 * @desc This is the stateless functional component for Center.
 * @since v1.0
 * @author @clenondavis <dev@carloslenon.com>
 * @return {JSX} PartialView component
 * @example
 * <PartialView />
 */

const PartialView = ({ children }) => (
  <Row>
    <Col
      span={8}
      offset={8}
      className="app-partial-view"
    >
      {children}
    </Col>
  </Row>
);

/**
 * @name PartialView PropTypes
 * @memberof components/presentational/PartialView
 * @type {propTypes}
 * @param {Object} props        - React PropTypes
 * @return {Array} React PropTypes
 */
PartialView.propTypes = {
  children: PropTypes.node,
};

PartialView.defaultProps = {
  children: [],
};

export default PartialView;
