import type { FunctionComponent, ReactNode } from "react"; type Props = { title: string; description?: ReactNode; }; const SettingsSection: FunctionComponent = ({ children, title, description }) => (

{title}

{description ?

{description}

: null}
{children}
); export default SettingsSection;