const imgLine75Stroke = "https://www.figma.com/api/mcp/asset/9abb782c-eaaa-4c7f-99cd-39680ba29a25"; const imgUnion = "https://www.figma.com/api/mcp/asset/4a9c60ad-203d-4d7c-949d-b83cba1841bd"; const img = "https://www.figma.com/api/mcp/asset/d5e3bc4c-3185-4b23-8e4f-0efeaf3378cd"; const imgUnion1 = "https://www.figma.com/api/mcp/asset/a4181017-68bf-46f8-922d-e07921b39619"; type StepItemProps = { className?: string; direction?: "horizontal" | "vertical"; state?: "pending" | "active" | "completed"; style?: "number" | "icon"; }; export default function StepItem({ className, direction = "horizontal", state = "completed", style = "number" }: StepItemProps) { const isActive = state === "active"; const isHorizontalAndActive = direction === "horizontal" && state === "active"; const isHorizontalAndIconAndActive = direction === "horizontal" && style === "icon" && state === "active"; const isHorizontalAndIconAndCompleted = direction === "horizontal" && style === "icon" && state === "completed"; const isHorizontalAndIconAndPending = direction === "horizontal" && style === "icon" && state === "pending"; const isHorizontalAndNumberAndActive = direction === "horizontal" && style === "number" && state === "active"; const isHorizontalAndNumberAndPending = direction === "horizontal" && style === "number" && state === "pending"; const isHorizontalAndPending = direction === "horizontal" && state === "pending"; const isPending = state === "pending"; const isVerticalAndNumber = direction === "vertical" && style === "number"; const isVerticalAndNumberAndActive = direction === "vertical" && style === "number" && state === "active"; const isVerticalAndNumberAndCompleted = direction === "vertical" && style === "number" && state === "completed"; const isVerticalAndNumberAndPending = direction === "vertical" && style === "number" && state === "pending"; return (
{isPending ? "3" : isActive ? "2" : ""}
{isPending ? "3" : isActive ? "2" : ""}
Step Title