import { jsx as _jsx } from "react/jsx-runtime";
import { InsightListItem } from "@gooddata/sdk-ui-kit";
import { DraggableInsightListItem } from "../../../dragAndDrop/draggableWidget/DraggableInsightListItem.js";
export function DraggableInsightListItemBody(props) {
    const { className } = props;
    return (_jsx("div", { className: className, children: _jsx(InsightListItem, { ...props }) }));
}
export function DraggableInsightListItemWrapper({ WrapInsightListItemWithDragComponent, className, isLocked, title, description, showDescriptionPanel, type, updated, insight, onDescriptionPanelOpen, metadataTimeZone, useRichText, useReferences, LoadingComponent, filters, }) {
    return (_jsx(DraggableInsightListItem, { WrapInsightListItemWithDragComponent: WrapInsightListItemWithDragComponent, ListItemComponent: DraggableInsightListItemBody, listItemComponentProps: {
            className,
            isLocked,
            title,
            description,
            type,
            updated,
            showDescriptionPanel,
            onDescriptionPanelOpen,
            metadataTimeZone,
            useRichText,
            useReferences,
            LoadingComponent,
            filters,
        }, insight: insight }));
}
//# sourceMappingURL=DraggableInsightListItemWrapper.js.map