MCPcopy Create free account
hub / github.com/adobe/react-spectrum / renderChildren

Function renderChildren

packages/react-aria-components/src/Virtualizer.tsx:150–156  ·  view source on GitHub ↗
(
  parent: View | null,
  children: View[],
  renderDropIndicator?: (target: ItemDropTarget) => ReactNode
)

Source from the content-addressed store, hash-verified

148}
149
150function renderChildren(
151 parent: View | null,
152 children: View[],
153 renderDropIndicator?: (target: ItemDropTarget) => ReactNode
154) {
155 return children.map(view => renderWrapper(parent, view, renderDropIndicator));
156}
157
158function renderWrapper(
159 parent: View | null,

Callers 2

CollectionRootFunction · 0.70
CollectionBranchFunction · 0.70

Calls 1

renderWrapperFunction · 0.85

Tested by

no test coverage detected