MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / Section

Function Section

apps/public/src/components/section.tsx:3–18  ·  view source on GitHub ↗
({
  children,
  className,
  id,
  ...props
}: {
  children: React.ReactNode;
  className?: string;
  id?: string;
})

Source from the content-addressed store, hash-verified

1import { cn } from '@/lib/utils';
2
3export 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
20const variants = {
21 default: 'text-3xl md:text-5xl font-semibold',

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected