import { ReactNode } from "react"; import clsx from "clsx"; import Typography from "../Typography/Typography"; import styles from "./Section.module.scss"; interface SectionProps { title?: string; children: ReactNode; className?: string; titleClassName?: string; contentClassName?: string; } export default function Section({ title, children, className, titleClassName, contentClassName, }: SectionProps) { return (
{title && ( {title} )}
{children}
); }