+ {header}
+
+ {(provided: DroppableProvided) =>
+ items.length > 0 ? (
+
+ {items.map((item: ItemContents, index: number) => (
+
+ ))}
+ {provided.placeholder}
+
+ ) : (
+
+ {emptyContent}
+ {provided.placeholder}
+
+ )
+ }
+
+
+ ) : null;
+};
+
+/**
+ * Component that contains header section for the container which consists of drag and drop components.
+ */
+
+const DragDropContainerHeader = ({
+ className,
+ children,
+ ...other
+}: DragDropContainerHeaderProps) => {
+ return (
+