import classNames from 'classnames'; import styles from './Section.module.css'; /** * A reusable component for sections. * * @param {import('react').ComponentClass} className - Custom classes to apply to the section. * @param {import('react').ComponentClass} contentClassName - Custom styles to apply to the content. * @param {string} style - Custom styles to apply to the section. * @param {string} id - The id of the section. * * @example *
* Hello *
* */ export default function Section(ctx) { const { id, style, children, className, contentClassName } = ctx; return (
{children}
); }