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

Method copy

packages/react-stately/src/virtualizer/Size.ts:25–27  ·  view source on GitHub ↗

* Returns a copy of this size.

()

Source from the content-addressed store, hash-verified

23 * Returns a copy of this size.
24 */
25 copy(): Size {
26 return new Size(this.width, this.height);
27 }
28
29 /**
30 * Returns whether this size is equal to another one.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected