(event: React.KeyboardEvent<HTMLInputElement>)
| 432 | } |
| 433 | |
| 434 | const internalKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => { |
| 435 | if (event.key === 'ArrowDown') { |
| 436 | event.preventDefault() // prevent scroll |
| 437 | moveFocusToList() |
| 438 | } |
| 439 | |
| 440 | if (typeof propsOnKeyDown === 'function') propsOnKeyDown(event) |
| 441 | } |
| 442 | |
| 443 | return ( |
| 444 | <TextInput |
nothing calls this directly
no test coverage detected