"use client";
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
import { KeyboardMovementProvider } from "../movement/useKeyboardMovementProvider.js";
/**
 * **Client Component**
 *
 * @since 6.0.0
 * @internal
 */ export function MenuWidgetKeyboardProvider(props) {
    const { value, disabled, children } = props;
    if (disabled) {
        return /*#__PURE__*/ _jsx(_Fragment, {
            children: children
        });
    }
    return /*#__PURE__*/ _jsx(KeyboardMovementProvider, {
        value: value,
        children: children
    });
}

//# sourceMappingURL=MenuWidgetKeyboardProvider.js.map