import { jsx as _jsx } from "react/jsx-runtime";
import { WithDrillSelect } from "../../../../drill/DrillSelect/WithDrillSelect.js";
import { DashboardInsight } from "./DashboardInsight.js";
/**
 * @internal
 */
export function DashboardInsightWithDrillSelect(props) {
    const { widget, returnFocusToInsight, onDrillStart, onDrillDown, onDrillToInsight, onDrillToAttributeUrl, onDrillToCustomUrl, onDrillToDashboard, onKeyDriverAnalysisSuccess, } = props;
    return (_jsx(WithDrillSelect, { widgetRef: widget.ref, insight: props.insight, returnFocusToInsight: returnFocusToInsight, onDrillStart: onDrillStart, onDrillDownSuccess: onDrillDown, onDrillToInsightSuccess: onDrillToInsight, onDrillToAttributeUrlSuccess: onDrillToAttributeUrl, onDrillToCustomUrlSuccess: onDrillToCustomUrl, onDrillToDashboardSuccess: onDrillToDashboard, onKeyDriverAnalysisSuccess: onKeyDriverAnalysisSuccess, children: ({ onDrill }) => {
            return _jsx(DashboardInsight, { ...props, onDrill: onDrill });
        } }));
}
//# sourceMappingURL=DashboardInsightWithDrillSelect.js.map