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

Function calcStyle

src/core/position.ts:271–273  ·  view source on GitHub ↗
(pos: Position)

Source from the content-addressed store, hash-verified

269 scale: 1,
270
271 calcStyle(pos: Position): React.CSSProperties {
272 return setTransform(pos) as React.CSSProperties;
273 }
274};
275
276/**

Callers

nothing calls this directly

Calls 2

setTransformFunction · 0.85
setTopLeftFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…