import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2025-2026 GoodData Corporation
import { memo } from "react";
import { typedUiMenuContextStore } from "../../context.js";
/**
 * By default just renders the data.
 * @internal
 */
export const DefaultUiMenuStaticItem = memo(function DefaultUiMenuStaticItem({ item, }) {
    const { itemClassName, itemDataTestId } = typedUiMenuContextStore().useContextStoreValues([
        "itemClassName",
        "itemDataTestId",
    ]);
    return (_jsx("li", { role: "none", className: typeof itemClassName === "function" ? itemClassName(item) : itemClassName, "data-testid": typeof itemDataTestId === "function" ? itemDataTestId(item) : itemDataTestId, children: item.data }));
});
