'use strict';

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

var _templateObject = _taggedTemplateLiteral(['\n  padding: 3px 8px;\n'], ['\n  padding: 3px 8px;\n']);

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _propTypes = require('prop-types');

var _propTypes2 = _interopRequireDefault(_propTypes);

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

var _styledComponents2 = _interopRequireDefault(_styledComponents);

var _themeGet = require('../../../extensions/themeGet');

var _themeGet2 = _interopRequireDefault(_themeGet);

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

function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }

var TableCell = _styledComponents2.default.td.withConfig({
  displayName: 'TableCell'
})(['background:transparent;text-align:left;border-right:', ' solid ', ';white-space:nowrap;padding:', ' ', ';transition:0.2s ease all;&:last-child{border-right:none;}'], (0, _themeGet2.default)('thicknesses.normal'), (0, _themeGet2.default)('colors.shadow.light'), (0, _themeGet2.default)('spacing.small'), (0, _themeGet2.default)('spacing.medium'));

TableCell.defaultProps = {
  children: String.fromCharCode(160) // &nbsp;
};

TableCell.Small = TableCell.extend(_templateObject);

exports.default = TableCell;