import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2025-2026 GoodData Corporation
import { ExportModeInsightWidgetDescription } from "../../description/ExportModeInsightWidgetDescription.js";
import { InsightWidgetDescriptionComponentProvider } from "../../description/InsightWidgetDescriptionComponentProvider.js";
import { DefaultDashboardInsightWidget } from "./DefaultDashboardInsightWidget.js";
/**
 * Insight widget that can be exported.
 *
 * This component wraps the DefaultDashboardInsightWidget with the ExportModeInsightWidgetDescription
 * to provide the description component that is not publicly customizable for exporter.
 */
export function ExportableDashboardInsightWidget(props) {
    return (_jsx(InsightWidgetDescriptionComponentProvider, { InsightWidgetDescriptionComponent: ExportModeInsightWidgetDescription, children: _jsx(DefaultDashboardInsightWidget, { ...props }) }));
}
