MCPcopy Create free account
hub / github.com/adobe/react-spectrum / copy

Method copy

packages/react-stately/src/virtualizer/Rect.ts:185–187  ·  view source on GitHub ↗

* Returns a copy of this rectangle.

()

Source from the content-addressed store, hash-verified

183 * Returns a copy of this rectangle.
184 */
185 copy(): Rect {
186 return new Rect(this.x, this.y, this.width, this.height);
187 }
188}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected