"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Td = void 0;

var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));

var _react = _interopRequireDefault(require("react"));

var _Box = require("../../../Box");

var _styles = _interopRequireDefault(require("../../styles"));

var __jsx = _react["default"].createElement;

var Td = function Td(props) {
  var _useTableStyle = (0, _styles["default"])({
    span: props.span
  }),
      cellStyleProps = _useTableStyle.cell;

  return __jsx(_Box.Box, (0, _extends2["default"])({
    as: "td"
  }, cellStyleProps, props), props.children);
};

exports.Td = Td;
//# sourceMappingURL=Td.js.map