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

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

var headerStyle = {
  fontSize: '20px',
  paddingRight: '20px'
};

var subHeaderStyle = {
  fontWeight: 'normal'
};

var CodeTesterHeader = function CodeTesterHeader(_ref) {
  var headerText = _ref.headerText,
      subHeaderText = _ref.subHeaderText;
  return _react2.default.createElement(
    'ul',
    { className: 'editor-selection-panels' },
    _react2.default.createElement(
      'li',
      { className: 'selection-panel' },
      _react2.default.createElement(
        'span',
        { style: headerStyle },
        headerText
      ),
      _react2.default.createElement(
        'span',
        { style: subHeaderStyle },
        subHeaderText
      )
    )
  );
};

CodeTesterHeader.propTypes = {
  headerText: _propTypes2.default.string,
  subHeaderText: _propTypes2.default.string
};

CodeTesterHeader.defaultProps = {
  headerText: '',
  subHeaderText: ''
};

exports.default = CodeTesterHeader;