import Row from "./Row/Index";
import React from "react";
const Rows = (props) => {
    const getRow = (data) => {
        const { row } = data;
        return (React.createElement(Row, Object.assign({ chartTimelineStart: props.chartTimelineStart, chartTimelineEnd: props.chartTimelineEnd, timelineWidth: props.timelineWidth, row: row, selectedBarIds: props.selectedBarIds, onBarSelectChange: props.onBarSelectChange }, (props.multiSelect !== undefined
            ? { multiSelect: props.multiSelect }
            : {}), (props.highlightBarIds
            ? { highlightBarIds: props.highlightBarIds }
            : {}))));
    };
    return (React.createElement("div", { className: "w-full border-b-2 border-gray-400" }, props.rows.map((row, i) => {
        return (React.createElement("div", { key: i }, getRow({
            row: row,
        })));
    })));
};
export default Rows;
//# sourceMappingURL=Rows.js.map