import React from "react";
import { SearchResultItem } from "./SearchResultItem";
import "./search-page.scss";
export const SearchResultsList = ({ items, profile, datasetTypeSelected, hasEditPermissions, }) => {
    return (React.createElement("div", { className: "search-results" }, items.map((data) => {
        if (data) {
            return (React.createElement(SearchResultItem, { node: data.node, key: data.node.id, profile: profile, hasEditPermissions: hasEditPermissions, datasetTypeSelected: datasetTypeSelected }));
        }
    })));
};
