'use strict';

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

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 }; }

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 = (0, _styledComponents2.default)(TableCell).withConfig({
  displayName: 'TableCell__Small'
})(['padding:3px 8px;']);

exports.default = TableCell;