'use strict';

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

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 PaneRow = _styledComponents2.default.div.withConfig({ displayName: 'PaneRow' }).withConfig({
  displayName: 'PaneRow'
})(['display:flex;flex-direction:row;width:100%;align-items:flex-start;& > *{flex:1;border-right:', ' solid ', ';border-left:', ' solid ', ';margin-left:-', ';}& > *:first-child{margin-left:0;border-left:none;}& > *:last-child{border-right:none;}'], (0, _themeGet2.default)('thicknesses.normal'), (0, _themeGet2.default)('colors.border.medium'), (0, _themeGet2.default)('thicknesses.normal'), (0, _themeGet2.default)('colors.border.medium'), (0, _themeGet2.default)('thicknesses.normal'));

PaneRow.propTypes = {
  /**
   * Adds an id to the element.
   */
  id: _propTypes2.default.string,
  /**
   * Adds a class name to the element.
   */
  className: _propTypes2.default.string
};

PaneRow.defaultProps = {
  id: null,
  className: null
};

/**
 * @component
 */
exports.default = PaneRow;