MCPcopy Index your code
hub / github.com/tomkp/react-split-pane / getKeyboardInstructions

Function getKeyboardInstructions

src/utils/accessibility.ts:57–66  ·  view source on GitHub ↗
(
  direction: 'horizontal' | 'vertical'
)

Source from the content-addressed store, hash-verified

55 * Get keyboard instructions for divider
56 */
57export function getKeyboardInstructions(
58 direction: 'horizontal' | 'vertical'
59): string {
60 const keys =
61 direction === 'horizontal'
62 ? 'left and right arrow keys'
63 : 'up and down arrow keys';
64
65 return `Use ${keys} to resize. Hold Shift for larger steps. Press Home or End to minimize or maximize.`;
66}

Callers 2

DividerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…