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

Function compact

src/extras/wrapCompactor.ts:140–142  ·  view source on GitHub ↗
(layout: Layout, cols: number)

Source from the content-addressed store, hash-verified

138 allowOverlap: false,
139
140 compact(layout: Layout, cols: number): Layout {
141 return compactWrap(layout, cols);
142 }
143};
144
145/**

Callers

nothing calls this directly

Calls 2

compactWrapFunction · 0.85
cloneLayoutFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…