/**
 * @license MIT
 * author: Cube Dev Team
 * @cube-dev/ui-kit v0.98.7
 * Released under the MIT license.
 */

import { jsx as _jsx } from "react/jsx-runtime";
import { forwardRef } from 'react';
import { tasty } from '../../../tasty';
import { useSlotProps } from '../../../utils/react';
import { Space } from '../../layout/Space';
const ButtonGroupElement = tasty(Space, {
    qa: 'ButtonGroup',
    styles: {
        gridArea: 'buttonGroup',
    },
});
export const ButtonGroup = forwardRef(function ButtonGroup(props, ref) {
    return (_jsx(ButtonGroupElement, { ref: ref, ...useSlotProps(props, 'buttonGroup') }));
});

        