@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
| Name | Type | Defined in |
|---|---|---|
height | number | src/size.ts:24 |
width | number | src/size.ts:22 |