(t0)
| 10 | cooldown?: boolean; |
| 11 | }; |
| 12 | export 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 | } |
| 36 | export function getFastIconString(applyColor = true, cooldown = false): string { |
| 37 | if (!applyColor) { |
| 38 | return LIGHTNING_BOLT; |
nothing calls this directly
no outgoing calls
no test coverage detected