Skip to content

@technobuddha > react-hooks > DOM > Measurement

Type Alias: Size

ts
type Size = ScrollbarSize & {
  height: number;
  width: number;
};

Defined in: size.ts:20

Represents the size of an element, including its width, height, and scrollbar dimensions.

Extends the ScrollbarSize type with additional width and height properties.

Type Declaration

NameTypeDefined in
heightnumbersrc/size.ts:24
widthnumbersrc/size.ts:22