import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
export function scrollKeybindingDelta(keyName) {
    if (keyName === "up" || keyName === "k")
        return -1;
    if (keyName === "down" || keyName === "j")
        return 1;
    if (keyName === "pageup")
        return -10;
    if (keyName === "pagedown")
        return 10;
    return 0;
}
export function ScrollKeybindingHandler(props) {
    return _jsx(_Fragment, { children: props.children });
}
