/** @license MIT | @cube-dev/ui-kit v0.123.0 | Cube Dev Team */
import { useSlotProps } from "../../../utils/react/Slots.js";
import { Space } from "../../layout/Space.js";
import { tasty } from "@tenphi/tasty";
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