MCPcopy Index your code
hub / github.com/react-grid-layout/react-grid-layout / getStatics

Function getStatics

src/core/compact-compat.ts:20–22  ·  view source on GitHub ↗

* Get all static items from a layout

(layout: Layout)

Source from the content-addressed store, hash-verified

18 * Get all static items from a layout
19 */
20function getStatics(layout: Layout): LayoutItem[] {
21 return layout.filter(l => l.static);
22}
23
24const heightWidth: { x: "w"; y: "h" } = { x: "w", y: "h" };
25

Callers 2

compactFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…