import { Checkbox } from '@/components/ui/checkbox'; import { Label } from '@/components/ui/label'; import { NotificationSettings as NotificationSettingsType } from '../types/settings'; import { PushPreferencesSection } from './PushPreferencesSection'; interface NotificationSettingsProps { notifications: NotificationSettingsType; onChange: (notifications: NotificationSettingsType) => void; } export function NotificationSettings({ notifications, onChange, }: NotificationSettingsProps) { const handleChange = ( field: keyof NotificationSettingsType, value: boolean, ) => { onChange({ ...notifications, [field]: value, }); }; return (
Recevoir des notifications par email
Recevoir des notifications push
Recevoir des notifications dans le navigateur
Recevoir un email quand quelqu'un vous suit
Recevoir un email quand quelqu'un aime votre contenu
Recevoir un email quand quelqu'un commente votre contenu
Recevoir un email quand vous recevez un message
Recevoir un email quand quelqu'un vous mentionne
Recevoir des emails promotionnels et des actualités