import { RovingFocusProps } from './types'; /** This hook handles focus with the keyboard arrows. * * - Roving focus definition [https://a11y-solutions.stevenwoodson.com/solutions/focus/roving-focus/] * - Example usage: * * ``` function MyComponent() { const [rootElement, setRootElement] = setRootElement(null) useRovingFocus({ rootElement: rootElement, }) return (