MCPcopy
hub / github.com/nukeop/nuclear / SectionShell

Function SectionShell

packages/ui/src/components/SectionShell/SectionShell.tsx:12–30  ·  view source on GitHub ↗
({
  children,
  title,
  className,
  'data-testid': dataTestId,
})

Source from the content-addressed store, hash-verified

10};
11
12export const SectionShell: FC<SectionShellProps> = ({
13 children,
14 title,
15 className,
16 'data-testid': dataTestId,
17}) => (
18 <section
19 data-testid={dataTestId}
20 className={cn(
21 'mb-6 flex w-full flex-col items-start justify-start',
22 className,
23 )}
24 >
25 <h2 className="mb-3 flex w-full flex-0 flex-row text-left text-2xl font-bold">
26 {title}
27 </h2>
28 <div className="flex w-full flex-1 flex-col">{children}</div>
29 </section>
30);

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected