import o from "react";
const r = (p, t) => {
  const n = [], s = [t.displayName || t.name];
  return o.Children.forEach(p, (e) => {
    const a = e && e.type && (e.type.displayName || e.type.name);
    s.includes(a) && n.push(e);
  }), n;
}, m = {
  findByType: r
};
export {
  m as default
};
//# sourceMappingURL=index.es26.js.map
