import type { FunctionComponent, ReactNode } from "react"; import clsx from "clsx"; type Props = { className?: string; footer?: ReactNode; }; const SettingsSection: FunctionComponent = ({ children, footer, className }) => (
{children}
{footer ?? null}
); export default SettingsSection;