import React from 'react'; import { useTranslation } from 'react-i18next'; import { AlertTriangle, Mail } from 'lucide-react'; interface EmailTemplateSelectorProps { value: string | number | undefined; onChange: (templateId: string | number | undefined) => void; category?: string; placeholder?: string; required?: boolean; disabled?: boolean; className?: string; } /** * DEPRECATED: Custom email templates are no longer supported. * * The email template system has been replaced with system-level templates * that are managed through Business Settings > Email Templates. * * This component now displays a deprecation notice instead of a selector. */ const EmailTemplateSelector: React.FC = ({ className = '', }) => { const { t } = useTranslation(); return (

{t('emailTemplates.deprecated.title', 'Custom Email Templates Deprecated')}

{t( 'emailTemplates.deprecated.message', 'Custom email templates have been replaced with system email templates. You can customize system emails (appointment confirmations, reminders, etc.) in Business Settings > Email Templates.' )}

); }; export default EmailTemplateSelector;