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

Function PropertyValue

src/components/Settings/Status.tsx:57–101  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

55 return [...(await buildInstallationDiagnostics()), ...(await buildInstallationHealthDiagnostics()), ...(await buildMemoryDiagnostics())];
56}
57function PropertyValue(t0) {
58 const $ = _c(8);
59 const {
60 value
61 } = t0;
62 if (Array.isArray(value)) {
63 let t1;
64 if ($[0] !== value) {
65 let t2;
66 if ($[2] !== value.length) {
67 t2 = (item, i) => <Text key={i}>{item}{i < value.length - 1 ? "," : ""}</Text>;
68 $[2] = value.length;
69 $[3] = t2;
70 } else {
71 t2 = $[3];
72 }
73 t1 = value.map(t2);
74 $[0] = value;
75 $[1] = t1;
76 } else {
77 t1 = $[1];
78 }
79 let t2;
80 if ($[4] !== t1) {
81 t2 = <Box flexWrap="wrap" columnGap={1} flexShrink={99}>{t1}</Box>;
82 $[4] = t1;
83 $[5] = t2;
84 } else {
85 t2 = $[5];
86 }
87 return t2;
88 }
89 if (typeof value === "string") {
90 let t1;
91 if ($[6] !== value) {
92 t1 = <Text>{value}</Text>;
93 $[6] = value;
94 $[7] = t1;
95 } else {
96 t1 = $[7];
97 }
98 return t1;
99 }
100 return value;
101}
102export function Status(t0) {
103 const $ = _c(20);
104 const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected