/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-a795c5b | Cube Dev Team */
import { tasty } from "../../../tasty/tasty.js";
import { useSlotProps } from "../../../utils/react/Slots.js";
import { Space } from "../../layout/Space.js";
import { forwardRef } from "react";
import { jsx } from "react/jsx-runtime";

//#region src/components/actions/ButtonGroup/ButtonGroup.tsx
const ButtonGroupElement = tasty(Space, {
	qa: "ButtonGroup",
	styles: { gridArea: "buttonGroup" }
});
const ButtonGroup = forwardRef(function ButtonGroup(props, ref) {
	return /* @__PURE__ */ jsx(ButtonGroupElement, {
		ref,
		...useSlotProps(props, "buttonGroup")
	});
});

//#endregion
export { ButtonGroup };
//# sourceMappingURL=ButtonGroup.js.map