in fuse-ui-fabric/splittable/splittable.tsx [34:51]
function handleResize(props: SplittableProps, resize: (delta: number) => void, e: React.KeyboardEvent) {
const key = e.key;
let delta = 0;
if (props.orientation === 'vertical') {
if (key === 'ArrowLeft') {
delta = -12;
} else if (key === 'ArrowRight') {
delta = 12;
}
} else if (props.orientation === 'horizontal') {
if (key === 'ArrowUp') {
delta = -12;
} else if (key === 'ArrowDown') {
delta = 12;
}
}
resize(delta);
}