MCPcopy Create free account
hub / github.com/codeaashu/claude-code / VoiceIndicatorImpl

Function VoiceIndicatorImpl

src/components/PromptInput/VoiceIndicator.tsx:39–72  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

37 return t0;
38}
39function VoiceIndicatorImpl(t0) {
40 const $ = _c(2);
41 const {
42 voiceState
43 } = t0;
44 switch (voiceState) {
45 case "recording":
46 {
47 let t1;
48 if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
49 t1 = <Text dimColor={true}>listening…</Text>;
50 $[0] = t1;
51 } else {
52 t1 = $[0];
53 }
54 return t1;
55 }
56 case "processing":
57 {
58 let t1;
59 if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
60 t1 = <ProcessingShimmer />;
61 $[1] = t1;
62 } else {
63 t1 = $[1];
64 }
65 return t1;
66 }
67 case "idle":
68 {
69 return null;
70 }
71 }
72}
73
74// Static — the warmup window (~120ms between space #2 and activation)
75// is too brief for a 1s-period shimmer to register, and a 50ms animation

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected