Function
Section
({
children,
className,
id,
...props
}: {
children: React.ReactNode;
className?: string;
id?: string;
})
Source from the content-addressed store, hash-verified
| 1 | import { cn } from '@/lib/utils'; |
| 2 | |
| 3 | export function Section({ |
| 4 | children, |
| 5 | className, |
| 6 | id, |
| 7 | ...props |
| 8 | }: { |
| 9 | children: React.ReactNode; |
| 10 | className?: string; |
| 11 | id?: string; |
| 12 | }) { |
| 13 | return ( |
| 14 | <section id={id} className={cn('my-32 col', className)} {...props}> |
| 15 | {children} |
| 16 | </section> |
| 17 | ); |
| 18 | } |
| 19 | |
| 20 | const variants = { |
| 21 | default: 'text-3xl md:text-5xl font-semibold', |
Callers
nothing calls this directly
Tested by
no test coverage detected