import type { ReactNode } from "react"
import { SettingsCard } from "@/components/settings/settings-kit"

/**
 * @deprecated Utiliser directement `SettingsCard` (`@/components/settings/settings-kit`).
 * Conservé comme alias rétrocompatible pour les sections admin existantes.
 */
export function AdminSettingsCard({
  title,
  description,
  hint,
  children,
}: {
  title: string
  description: ReactNode
  hint?: ReactNode
  children: ReactNode
}) {
  return (
    <SettingsCard title={title} description={description} hint={hint}>
      {children}
    </SettingsCard>
  )
}
