MCPcopy
hub / github.com/react-grid-layout/react-grid-layout / getStatics

Function getStatics

src/core/layout.ts:64–66  ·  view source on GitHub ↗
(layout: Layout)

Source from the content-addressed store, hash-verified

62 * @returns Array of static layout items
63 */
64export function getStatics(layout: Layout): LayoutItem[] {
65 return layout.filter((l): l is LayoutItem => l.static === true);
66}
67
68// ============================================================================
69// Layout Cloning

Callers 3

compactFunction · 0.70
correctBoundsFunction · 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…