MCPcopy Index your code
hub / github.com/microsoft/AI-Engineering-Coach / StatCard

Function StatCard

src/webview/render.ts:53–60  ·  view source on GitHub ↗
({ label, value, accent }: { label: string; value: string; accent: string })

Source from the content-addressed store, hash-verified

51export type { JSX } from 'preact';
52
53export function StatCard({ label, value, accent }: { label: string; value: string; accent: string }) {
54 return html`
55 <div class="stat-card">
56 <div class="stat-card-accent" style=${'background:' + accent}></div>
57 <div class="stat-value">${value}</div>
58 <div class="stat-label">${label}</div>
59 </div>`;
60}
61
62export function CanvasEl({ id, height, title }: { id: string; height?: number; title?: string }) {
63 return html`

Callers

nothing calls this directly

Calls 1

htmlFunction · 0.70

Tested by

no test coverage detected