MCPcopy
hub / github.com/casesandberg/react-color / isValidKeyCode

Function isValidKeyCode

src/components/common/EditableInput.js:12–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 DOWN_KEY_CODE
11]
12const isValidKeyCode = keyCode => VALID_KEY_CODES.indexOf(keyCode) > -1
13const getNumberValue = value => Number(String(value).replace(/%/g, ''))
14
15let idCounter = 1

Callers 1

EditableInput.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…