import { Trans } from "@lingui/react/macro"; import { IconSettings } from "@tabler/icons-react"; import { motion } from "motion/react"; import { Children, type ReactNode } from "react"; const sectionVariants = { hidden: { opacity: 0, y: 20 }, visible: { opacity: 1, y: 0, transition: { type: "spring" as const, stiffness: 200, damping: 24 }, }, }; export function SettingsShell({ children, footer }: { children: ReactNode; footer?: ReactNode }) { return (

Settings

Manage your account and preferences

{Children.map(children, (child) => ( {child} ))} {footer && {footer}}
); }