import { Bell, Mail, MessageSquare } from "lucide-react"; import { Checkbox } from "@/components/ui/checkbox"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@/components/ui/table"; import { cn } from "@/lib/utils"; interface NotificationSettingItem { id: string; title: string; description: string; email: boolean; sms: boolean; } interface SettingsNotifications4Props { heading?: string; subHeading?: string; className?: string; notifications?: NotificationSettingItem[]; } const SettingsNotifications4 = ({ heading = "کانال‌های اعلان", subHeading = "برای هر نوع رویداد، ایمیل یا پیامک را فعال یا غیرفعال کنید.", notifications = [ { id: "mentions", title: "منشن مستقیم", description: "وقتی کسی شما را در لید یا تسک منشن می‌کند، فوراً مطلع شوید.", email: true, sms: false, }, { id: "comments", title: "نظرات روی رکورد", description: "وقتی روی لید یا معامله تحت نظر شما نظر گذاشته می‌شود.", email: true, sms: false, }, { id: "messages", title: "پیام داخلی", description: "پیام خصوصی جدید از همکاران فضای کاری.", email: true, sms: true, }, { id: "assignments", title: "تخصیص تسک", description: "وقتی لید، معامله یا تسک پیگیری به شما اختصاص می‌یابد.", email: true, sms: false, }, { id: "deadlines", title: "یادآور مهلت", description: "یادآوری مهلت پیگیری و بسته شدن معامله.", email: true, sms: true, }, { id: "security", title: "هشدار امنیتی", description: "رویدادهای امنیتی مهم مربوط به حساب شما.", email: true, sms: true, }, { id: "billing", title: "صورتحساب", description: "فاکتور، تمدید اشتراک و وضعیت پرداخت.", email: true, sms: false, }, ], className, }: SettingsNotifications4Props) => { return (

{heading}

{subHeading}

نوع اعلان
ایمیل
پیامک
{notifications.map((notification) => (

{notification.title}

{notification.description}

))}
); }; export { SettingsNotifications4 };