MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / StepBadge

Function StepBadge

ai-code-studio/src/components/SetupWizard.tsx:50–73  ·  view source on GitHub ↗
({
  step,
  active,
  complete,
}: {
  step: WizardStep;
  active: boolean;
  complete: boolean;
})

Source from the content-addressed store, hash-verified

48}
49
50function StepBadge({
51 step,
52 active,
53 complete,
54}: {
55 step: WizardStep;
56 active: boolean;
57 complete: boolean;
58}) {
59 return (
60 <div
61 className={[
62 'rounded-2xl border px-3 py-2',
63 active
64 ? 'border-[#D8CAB8] bg-[#F4EEE4] text-[#241F17]'
65 : complete
66 ? 'border-[#D9E5D0] bg-[#EEF4EA] text-[#55704B]'
67 : 'border-[#E8DED2] bg-[#FCFAF6] text-[#8A7F70]',
68 ].join(' ')}
69 >
70 <div className="text-[11px] font-semibold uppercase tracking-[0.12em]">{stepLabel(step)}</div>
71 </div>
72 );
73}
74
75export function SetupWizard({
76 open,

Callers

nothing calls this directly

Calls 1

stepLabelFunction · 0.85

Tested by

no test coverage detected