()
| 202 | // Assigns the next roving-order ref index as each control renders. |
| 203 | let idx = 0 |
| 204 | const ref = (): ((el: HTMLButtonElement | null) => void) => { |
| 205 | const at = idx++ |
| 206 | return (el) => { |
| 207 | itemRefs.current[at] = el |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | return ( |
| 212 | <div |
no outgoing calls
no test coverage detected