import { Check } from 'lucide-react'
import { cn } from '../../lib/utils'
import { useTheme } from '../../context/ThemeProvider'
import { THEME_ICONS, THEME_OPTIONS } from './constants'
export function AppearanceCard() {
const { theme, setTheme } = useTheme()
return (
Apariencia
Tema claro u oscuro
{THEME_OPTIONS.map((option) => {
const Icon = THEME_ICONS[option.value]
const isSelected = theme === option.value
return (
)
})}
)
}