Keyboard key combination component with optional modifier flags.

interface ShortcutKey {
key: string;
ctrl?: boolean;
shift?: boolean;
alt?: boolean;
meta?: boolean;
}
interface ShortcutKey {
    key: string;
    ctrl?: boolean;
    shift?: boolean;
    alt?: boolean;
    meta?: boolean;
}

Properties

key: string
ctrl?: boolean
shift?: boolean
alt?: boolean
meta?: boolean