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