'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);

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

var _themeGet2 = _interopRequireDefault(_themeGet);

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

var TableRow = _styledComponents2.default.tr.withConfig({
  displayName: 'TableRow'
})(['border-top:', ' solid ', ';&:first-of-type{border-top:none;}', ';'], (0, _themeGet2.default)('thicknesses.normal'), (0, _themeGet2.default)('colors.shadow.light'), function (_ref) {
  var onClick = _ref.onClick;
  return !!onClick ? 'cursor: pointer;' : '';
});

exports.default = TableRow;