8.6 Released with 🥽 visionOS support and more!
Check it out
Size
interface Size {
  height: number;
  width: number;
}
The Size interface describes abstract dimensions in two dimensional space. It has two properties width and height, representing the width and height values of the size.

Summary ​

Properties

height
width

Properties ​

height ​

height: number
Represents the height of the size.

width ​

width: number
Represents the width of the size.