• Provides an action to forward on key down & up events. This can be any object that has associated keydown and keyup methods. See KeyStore for a store implementation.

    Parameters

    Returns ActionReturn<{
        keydown: ((event: KeyboardEvent) => void);
        keyup: ((event: KeyboardEvent) => void);
    }>

    Action lifecycle methods.