MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / isContainerVNode

Function isContainerVNode

packages/core/src/runtime/commit/validation.ts:172–194  ·  view source on GitHub ↗
(vnode: VNode)

Source from the content-addressed store, hash-verified

170}
171
172export function isContainerVNode(vnode: VNode): boolean {
173 return (
174 vnode.kind === "fragment" ||
175 vnode.kind === "box" ||
176 vnode.kind === "row" ||
177 vnode.kind === "column" ||
178 vnode.kind === "themed" ||
179 vnode.kind === "grid" ||
180 vnode.kind === "focusZone" ||
181 vnode.kind === "focusTrap" ||
182 vnode.kind === "layers" ||
183 vnode.kind === "field" ||
184 vnode.kind === "tabs" ||
185 vnode.kind === "accordion" ||
186 vnode.kind === "breadcrumb" ||
187 vnode.kind === "pagination" ||
188 vnode.kind === "splitPane" ||
189 vnode.kind === "panelGroup" ||
190 vnode.kind === "resizablePanel" ||
191 vnode.kind === "modal" ||
192 vnode.kind === "layer"
193 );
194}

Callers 2

commitNodeFunction · 0.85
executeCompositeRenderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected