import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2025-2026 GoodData Corporation
import { DefaultUiMenuInteractiveItem } from "@gooddata/sdk-ui-kit";
export function DrillSelectDropdownMenuItem(props) {
    const { item, isFocused } = props;
    if (!item.stringTitle) {
        return (_jsx("div", { className: "gd-drill-to-url-modal-picker s-drill-to-url-modal-picker", children: _jsx("div", { className: "gd-spinner small" }) }));
    }
    return (_jsx("div", { className: `s-gd-drill-modal-picker-item s-${item.data.type}`, children: _jsx(DefaultUiMenuInteractiveItem, { item: item, isFocused: isFocused }) }));
}
