Documentation
    Preparing search index...

    Function useArrowKeyNavigation

    • Calls the given handler with the direction to move when the up or down arrow key is pressed while active.

      Parameters

      • isActive: boolean
      • onNavigate: (direction: ARROW_KEY_DIRECTION) => void

      Returns void