'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _styledComponents = require('styled-components');

var _styledComponents2 = _interopRequireDefault(_styledComponents);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var Wrapper = _styledComponents2.default.div.withConfig({
  displayName: 'TableRow__Wrapper'
})(['width:100%;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;padding:8px 15px;box-sizing:border-box;border-left:1px solid ', ';border-top:1px solid ', ';border-right:1px solid ', ';'], function (props) {
  return props.theme['gray-2'];
}, function (props) {
  return props.theme['gray-2'];
}, function (props) {
  return props.theme['gray-2'];
});

var TableRow = function TableRow(_ref) {
  var children = _ref.children;
  return _react2.default.createElement(
    Wrapper,
    { border: true, padding: true },
    children
  );
};

exports.default = TableRow;