"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Tr = void 0;
var _react = _interopRequireDefault(require("react"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var StyledTr = _styledComponents.default.tr.withConfig({
  displayName: "Tr__StyledTr",
  componentId: "sc-1aap6l7-0"
})(["height:100%;padding:", "px 0;:not(:first-child){border-top:1px solid ", ";}overflow:hidden;"], function (p) {
  return p.theme.spacing.unit(2);
}, function (p) {
  return p.theme.color.divider;
});
var Tr = exports.Tr = function Tr(_ref) {
  var _ref$textAlign = _ref.textAlign,
    textAlign = _ref$textAlign === void 0 ? 'left' : _ref$textAlign,
    children = _ref.children,
    className = _ref.className,
    onClick = _ref.onClick;
  return _react.default.createElement(StyledTr, {
    textAlign: textAlign,
    className: className,
    onClick: onClick
  }, children);
};