MCPcopy Create free account
hub / github.com/CopilotKit/OpenTag / StatusCard

Function StatusCard

app/tools/showcase-tools.tsx:115–126  ·  view source on GitHub ↗
({ heading, fields }: StatusProps)

Source from the content-addressed store, hash-verified

113 }),
114 )
115 .min(1)
116 .describe("Label/value pairs laid out as a two-column grid."),
117});
118
119type StatusProps = z.infer<typeof statusSchema>;
120
121function StatusCard({ heading, fields }: StatusProps) {
122 return (
123 <Message accent="#5E6AD2">
124 <Header>{`📊 ${heading}`}</Header>
125 <Fields>
126 {fields.map((f) => (
127 <Field>{`**${f.label}**\n${f.value}`}</Field>
128 ))}
129 </Fields>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected