MCPcopy
hub / github.com/bokuweb/react-rnd / getEnableResizingByFlag

Function getEnableResizingByFlag

src/index.tsx:173–182  ·  view source on GitHub ↗
(flag: boolean)

Source from the content-addressed store, hash-verified

171};
172
173const getEnableResizingByFlag = (flag: boolean): Enable => ({
174 bottom: flag,
175 bottomLeft: flag,
176 bottomRight: flag,
177 left: flag,
178 right: flag,
179 top: flag,
180 topLeft: flag,
181 topRight: flag,
182});
183
184interface DefaultProps {
185 maxWidth: number;

Callers 1

renderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…