use-restricted-input (npm): Restricts key input to <input/> elements
Keywords: react|input|form|react hook|hook