'use strict';
import { jsx, Fragment } from 'react/jsx-runtime';
import { SearchSearchableResourceResult } from './SearchSearchableResourceResult.js';

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", {
  value,
  configurable: true
});
function SearchSearchableResourceResults({
  resourcesResults,
  parentContextName
}) {
  return /* @__PURE__ */jsx(Fragment, {
    children: resourcesResults.map(({
      resourceName,
      resources
    }) => resources.length && /* @__PURE__ */jsx(SearchSearchableResourceResult, {
      parentContextName,
      resourceName,
      items: resources
    }, resourceName))
  });
}
__name(SearchSearchableResourceResults, "SearchSearchableResourceResults");

export { SearchSearchableResourceResults };
