(props)
| 1049 | } |
| 1050 | |
| 1051 | function Item(props) { |
| 1052 | let focusManager = useFocusManager(); |
| 1053 | let onClick = () => { |
| 1054 | focusManager.focusNext(); |
| 1055 | }; |
| 1056 | // eslint-disable-next-line jsx-a11y/click-events-have-key-events |
| 1057 | return <div {...props} tabIndex={-1} role="button" onClick={onClick} />; |
| 1058 | } |
| 1059 | |
| 1060 | let {getByTestId} = render(<Test />); |
nothing calls this directly
no test coverage detected