import { Card } from "@ui/components/card"; import { cn } from "@ui/lib"; import type { PropsWithChildren, ReactNode } from "react"; export function SettingsItem({ children, title, description, danger, }: PropsWithChildren<{ title: string | ReactNode; description?: string | ReactNode; danger?: boolean; }>) { return (

{title}

{description && (

{description}

)}
{children}
); }