(rect: Rect)
| 73 | } |
| 74 | |
| 75 | const handler = (rect: Rect) => { |
| 76 | const { width, height } = rect |
| 77 | cb({ width: Math.round(width), height: Math.round(height) }) |
| 78 | } |
| 79 | |
| 80 | handler(element.getBoundingClientRect()) |
| 81 |
no outgoing calls
no test coverage detected