import React from "react";
import WorkspaceItem from "./WorkspaceItem";
import { FinsembleDnDContext } from "../../../legacyControls/FinsembleDnDContext";
const WorkspaceItemList = ({ onDragEnd, workspaceList, ...rest }) => (React.createElement("div", { className: "workspace-list" },
    React.createElement(FinsembleDnDContext, { onDragEnd: onDragEnd }, workspaceList === null || workspaceList === void 0 ? void 0 : workspaceList.map((workspace, i) => (React.createElement(WorkspaceItem, { workspace: workspace, key: i, i: i, ...rest }))))));
export default WorkspaceItemList;
//# sourceMappingURL=WorkspaceItemList.js.map