import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2026 GoodData Corporation
import { useMemo } from "react";
import { useDashboardComponentsContext } from "../../../../dashboardContexts/DashboardComponentsContext.js";
/**
 * @internal
 */
export function DrillDialogExportDropdownResolver(props) {
    const { insight, widget, ...drillDialogExportDropdownProps } = props;
    const { DrillDialogExportDropdownComponentProvider } = useDashboardComponentsContext();
    const DrillDialogExportDropdownComponent = useMemo(() => DrillDialogExportDropdownComponentProvider(insight, widget), [DrillDialogExportDropdownComponentProvider, insight, widget]);
    return _jsx(DrillDialogExportDropdownComponent, { ...drillDialogExportDropdownProps });
}
//# sourceMappingURL=DrillDialogExportDropdownResolver.js.map