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 };