MCPcopy Index your code
hub / github.com/tinyplex/tinybase / handleClick

Function handleClick

src/ui-solid-inspector/index.tsx:263–271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

261 setNewIdOk(!props.has(id));
262 };
263 const handleClick = () => {
264 const id = newId();
265 if (props.has(id)) {
266 setNewIdOk(false);
267 } else {
268 props.set(id);
269 props.onDone();
270 }
271 };
272 const handleKeyDown = (event: KeyboardEvent) => {
273 if (event.key == 'Enter') {
274 event.preventDefault();

Callers 1

handleKeyDownFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…