import _extends from "@babel/runtime/helpers/esm/extends";
import React, { forwardRef } from "react";
import classNames from "classnames";
import { StyledButtonGroup } from "./Styles";
export const ButtonGroup = /*#__PURE__*/forwardRef((_ref, ref) => {
  let {
    children,
    className,
    invalid,
    ...rest
  } = _ref;
  return /*#__PURE__*/React.createElement(StyledButtonGroup, _extends({
    ref: ref,
    className: classNames("c-btn-group", className),
    $invalid: invalid
  }, rest), children);
});
ButtonGroup.displayName = "ButtonGroup";
//# sourceMappingURL=ButtonGroup.js.map