import { Checkbox } from '@/components/ui/checkbox'; import { Label } from '@/components/ui/label'; import { PresenceInvisibleToggle } from './PresenceInvisibleToggle'; import { PrivacySettings as PrivacySettingsType } from '../types/settings'; interface PrivacySettingsProps { privacy: PrivacySettingsType; onChange: (privacy: PrivacySettingsType) => void; } export function PrivacySettings({ privacy, onChange }: PrivacySettingsProps) { const handleChange = (field: keyof PrivacySettingsType, value: boolean) => { onChange({ ...privacy, [field]: value, }); }; return (
Permettre aux moteurs de recherche d'indexer votre profil
Permettre aux autres utilisateurs de voir votre activité