'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 _reactFontawesome = require('react-fontawesome');

var _reactFontawesome2 = _interopRequireDefault(_reactFontawesome);

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

var ExpandPaneIcon = function ExpandPaneIcon(_ref) {
  var paneExpander = _ref.paneExpander;
  return _react2.default.createElement(
    'button',
    { onClick: paneExpander, className: 'pull-right' },
    _react2.default.createElement(_reactFontawesome2.default, {
      className: 'full-screen-button',
      name: 'arrows-alt'
    })
  );
};

ExpandPaneIcon.propTypes = {
  paneExpander: _propTypes2.default.func.isRequired
};

exports.default = ExpandPaneIcon;