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

Function FastIcon

src/components/FastIcon.tsx:12–35  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

10 cooldown?: boolean;
11};
12export function FastIcon(t0) {
13 const $ = _c(2);
14 const {
15 cooldown
16 } = t0;
17 if (cooldown) {
18 let t1;
19 if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
20 t1 = <Text color="promptBorder" dimColor={true}>{LIGHTNING_BOLT}</Text>;
21 $[0] = t1;
22 } else {
23 t1 = $[0];
24 }
25 return t1;
26 }
27 let t1;
28 if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
29 t1 = <Text color="fastMode">{LIGHTNING_BOLT}</Text>;
30 $[1] = t1;
31 } else {
32 t1 = $[1];
33 }
34 return t1;
35}
36export function getFastIconString(applyColor = true, cooldown = false): string {
37 if (!applyColor) {
38 return LIGHTNING_BOLT;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected