date-input-control
Version:
Capture dates using day, month and year components
7 lines (6 loc) • 494 B
TypeScript
export declare const isKeyArrowLeft: (key: string) => key is "ArrowLeft";
export declare const isKeyArrowRight: (key: string) => key is "ArrowRight";
export declare const isKeyBackspace: (key: string) => key is "Backspace";
export declare const isKeyDelete: (key: string) => key is "Delete";
export declare const isKeyNumeric: (key: string) => key is "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
export declare const isKeySeparator: (key: string) => key is "/" | "." | ",";