"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = ButtonGroupItem;

var _react = _interopRequireDefault(require("react"));

var _Button = _interopRequireDefault(require("../button/Button"));

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

function ButtonGroupItem(props) {
  var startIcon = props.startIcon,
      text = props.text,
      type = props.type,
      size = props.size,
      endIcon = props.endIcon,
      shape = props.shape,
      disabled = props.disabled,
      ariaLabel = props.ariaLabel,
      hover = props.hover,
      children = props.children,
      iconName = props.iconName;
  return /*#__PURE__*/_react["default"].createElement(_Button["default"], {
    startIcon: startIcon,
    endIcon: endIcon,
    text: text,
    type: type,
    size: size,
    shape: shape,
    disabled: disabled,
    ariaLabel: ariaLabel,
    hover: hover,
    children: children,
    iconName: iconName
  }, children ? children : null);
}