sendou.ink/app/components/Section.tsx
Kalle fef1ffc955
Design refresh + a bunch of stuff (#2864)
Co-authored-by: hfcRed <hfcred@gmx.net>
2026-03-19 17:51:42 +02:00

19 lines
323 B
TypeScript

import styles from "./Section.module.css";
export function Section({
title,
children,
className,
}: {
title?: string;
children: React.ReactNode;
className?: string;
}) {
return (
<section className={styles.section}>
{title && <h2>{title}</h2>}
<div className={className}>{children}</div>
</section>
);
}