import React__default from 'react';
import { StyledIconButton } from './ActionButton.styles.js';

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.createElement(StyledIconButton, {
    tabIndex: tabIndex,
    className: className,
    onClick: onClick
  }, icon);
};

export { ActionButton };
