'use strict';

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

var React = require('react');
var ActionButton_styles = require('./ActionButton.styles.js');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

var React__default = /*#__PURE__*/_interopDefault(React);

var ActionButton = function ActionButton(_ref) {
  var icon = _ref.icon,
    className = _ref.className,
    onClick = _ref.onClick,
    _ref$tabIndex = _ref.tabIndex,
    tabIndex = _ref$tabIndex === void 0 ? -1 : _ref$tabIndex;
  return /*#__PURE__*/React__default.default.createElement(ActionButton_styles.StyledIconButton, {
    tabIndex: tabIndex,
    className: className,
    onClick: onClick
  }, icon);
};

exports.ActionButton = ActionButton;
