import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["children"];
import React from 'react';
import DetailPageBody from './DetailPageBody';
import DetailPageHeader from './DetailPageHeader';
import Box from '../box';

var DetailPage = function DetailPage(_ref) {
  var children = _ref.children,
      others = _objectWithoutProperties(_ref, _excluded);

  return /*#__PURE__*/React.createElement(Box, others, children);
};

DetailPage.Body = DetailPageBody;
DetailPage.Header = DetailPageHeader;
export default DetailPage;