MCPcopy
hub / github.com/claude-code-best/claude-code / onSelect

Function onSelect

src/components/ClaudeCodeHint/PluginHintMenu.tsx:31–42  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

29 }, []);
30
31 function onSelect(value: string): void {
32 switch (value) {
33 case 'yes':
34 onResponse('yes');
35 break;
36 case 'disable':
37 onResponse('disable');
38 break;
39 default:
40 onResponse('no');
41 }
42 }
43
44 const options = [
45 {

Callers 15

ResumeTaskFunction · 0.50
SessionPreviewFunction · 0.50
handleSelectFunction · 0.50
ThinkingToggleFunction · 0.50
handleSelectChangeFunction · 0.50
LogSelectorFunction · 0.50
MemoryFileSelectorFunction · 0.50
TreeSelectFunction · 0.50
SelectHookModeFunction · 0.50
SelectMatcherModeFunction · 0.50

Calls 1

onResponseFunction · 0.50

Tested by

no test coverage detected