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

import { jsx as _jsx } from "react/jsx-runtime";
import { forwardRef } from 'react';
import { tasty } from '../../../tasty/index.js';
import { useSlotProps } from '../../../utils/react/index.js';
import { Space } from '../../layout/Space.js';
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') }));
});

        