MCPcopy
hub / github.com/tomkp/react-split-pane / UseKeyboardResizeOptions

Interface UseKeyboardResizeOptions

src/hooks/useKeyboardResize.ts:9–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7 * Options for the useKeyboardResize hook.
8 */
9export interface UseKeyboardResizeOptions {
10 direction: Direction;
11 sizes: number[];
12 minSizes: number[];
13 maxSizes: number[];
14 step?: number | undefined;
15 largeStep?: number | undefined;
16 onResize?: ((sizes: number[], event: ResizeEvent) => void) | undefined;
17 onResizeEnd?: ((sizes: number[], event: ResizeEvent) => void) | undefined;
18}
19
20const DEFAULT_STEP = 10;
21const DEFAULT_LARGE_STEP = 50;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…