MCPcopy
hub / github.com/rastikerdar/vazirmatn / Size

Interface Size

website/src/lib/utils.ts:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46// Define general type for useWindowSize hook, which includes width and height
47interface Size {
48 width: number | undefined;
49 height: number | undefined;
50}
51
52// Hook
53export function useWindowSize(): Size {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected