@benev/nubs
Version:
user-input system for web games
7 lines (6 loc) • 355 B
TypeScript
import { Waiting } from "../types/waiting.js";
export declare function renderKeycap({ waiting, currentlyWaitingForThisEffect, onClickRebind, }: {
currentlyWaitingForThisEffect: boolean;
waiting: undefined | Waiting;
onClickRebind: (keyIndex: number) => void;
}): (code: string[], keyIndex: number) => void | import("lit-html").TemplateResult;