File tree Expand file tree Collapse file tree
packages/ui/src/features/loops/components Expand file tree Collapse file tree Original file line number Diff line number Diff 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- }
You can’t perform that action at this time.
0 commit comments