var _excluded = ["children"],
  _excluded2 = ["children"],
  _excluded3 = ["children"],
  _excluded4 = ["children"],
  _excluded5 = ["children"],
  _excluded6 = ["children"];
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
import React from 'react';
import { addSubcomponents } from '../_utils/addSubcomponents';
import { StyledBodyCell, StyledBodyRow, StyledHead, StyledHeadCell, StyledShelf } from './TableShelf.styles';
export var Shelf = /*#__PURE__*/React.forwardRef(function Shelf(_ref, ref) {
  var children = _ref.children,
    props = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(StyledShelf, _extends({
    ref: ref
  }, props), children);
});
export var Head = /*#__PURE__*/React.forwardRef(function Head(_ref2, ref) {
  var children = _ref2.children,
    props = _objectWithoutProperties(_ref2, _excluded2);
  return /*#__PURE__*/React.createElement(StyledHead, {
    ref: ref
  }, /*#__PURE__*/React.createElement(StyledBodyRow, props, children));
});
export var HeadCell = /*#__PURE__*/React.forwardRef(function HeadCell(_ref3, ref) {
  var children = _ref3.children,
    props = _objectWithoutProperties(_ref3, _excluded3);
  return /*#__PURE__*/React.createElement(StyledHeadCell, _extends({
    ref: ref
  }, props), children);
});
export var Body = /*#__PURE__*/React.forwardRef(function Body(_ref4, ref) {
  var children = _ref4.children,
    props = _objectWithoutProperties(_ref4, _excluded4);
  return /*#__PURE__*/React.createElement("div", _extends({
    ref: ref
  }, props), children);
});
export var BodyCell = /*#__PURE__*/React.forwardRef(function BodyCell(_ref5, ref) {
  var children = _ref5.children,
    props = _objectWithoutProperties(_ref5, _excluded5);
  return /*#__PURE__*/React.createElement(StyledBodyCell, _extends({
    ref: ref
  }, props), children);
});
export var BodyRow = /*#__PURE__*/React.forwardRef(function BodyRow(_ref6, ref) {
  var children = _ref6.children,
    props = _objectWithoutProperties(_ref6, _excluded6);
  return /*#__PURE__*/React.createElement(StyledBodyRow, _extends({
    ref: ref
  }, props), children);
});
Shelf.displayName = 'Shelf';
Body.displayName = 'Shelf.Body';
BodyCell.displayName = 'Shelf.BodyCell';
BodyRow.displayName = 'Shelf.BodyRow';
Head.displayName = 'Shelf.Head';
HeadCell.displayName = 'Shelf.HeadCell';
export var TableShelf = addSubcomponents({
  Body: Body,
  BodyCell: BodyCell,
  BodyRow: BodyRow,
  Head: Head,
  HeadCell: HeadCell
}, Shelf);
//# sourceMappingURL=TableShelf.js.map