Skip to content

Commit 2f8c3fc

Browse files
committed
remove unused SectionCard
1 parent db6f7d4 commit 2f8c3fc

1 file changed

Lines changed: 0 additions & 44 deletions

File tree

packages/ui/src/features/loops/components/LoopFormPrimitives.tsx

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -32,47 +32,3 @@ export function Field({
3232
</Flex>
3333
);
3434
}
35-
36-
/**
37-
* One section of the loop form, rendered as a titled card with a leading icon
38-
* so the long form reads as distinct, scannable groups rather than a flat
39-
* stack.
40-
*/
41-
export function SectionCard({
42-
icon,
43-
title,
44-
description,
45-
children,
46-
}: {
47-
icon: ReactNode;
48-
title: string;
49-
description?: string;
50-
children: ReactNode;
51-
}) {
52-
return (
53-
<Flex
54-
direction="column"
55-
gap="4"
56-
className="rounded-(--radius-3) border border-border bg-(--color-panel-solid) p-4"
57-
>
58-
<Flex align="center" className="gap-2.5">
59-
<Flex
60-
align="center"
61-
justify="center"
62-
className="size-7 shrink-0 rounded-(--radius-2) bg-(--gray-3) text-gray-11"
63-
>
64-
{icon}
65-
</Flex>
66-
<Flex direction="column" className="min-w-0">
67-
<Text className="font-medium text-[13px] text-gray-12">{title}</Text>
68-
{description ? (
69-
<Text className="text-[12px] text-gray-10 leading-snug">
70-
{description}
71-
</Text>
72-
) : null}
73-
</Flex>
74-
</Flex>
75-
{children}
76-
</Flex>
77-
);
78-
}

0 commit comments

Comments
 (0)