MCPcopy Create free account
hub / github.com/PaulleDemon/PyUIBuilder / handleEnterKey

Function handleEnterKey

src/components/editableDiv.js:30–34  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

28 }
29
30 const handleEnterKey = (event) => {
31 if (event.key === "Enter"){
32 setIsEditable(false)
33 }
34 }
35
36 const handleDoubleClick = () => {
37 setIsEditable(true)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected