11 lines
322 B
TypeScript
11 lines
322 B
TypeScript
import React from 'react';
|
|
import { cn } from './utils';
|
|
|
|
export function Section({ className, children, ...props }: React.HTMLAttributes<HTMLElement>) {
|
|
return (
|
|
<section className={cn('py-16 md:py-28 lg:py-36 overflow-hidden content-visibility-auto', className)} {...props}>
|
|
{children}
|
|
</section>
|
|
);
|
|
}
|