"use client"; import { CornerDownLeft, UserRoundPlus } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Dialog, DialogContent, DialogFooter, DialogTitle, DialogTrigger, } from "@/components/ui/dialog"; import { Label } from "@/components/ui/label"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/components/ui/select"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@/components/ui/table"; import { Textarea } from "@/components/ui/textarea"; import { cn } from "@/lib/utils"; interface InviteUser1Props { heading?: string; className?: string; } const InviteUser1 = ({ heading = "دعوت کاربران", className, }: InviteUser1Props) => { const users = [ { id: 1, name: "سارا رضایی", email: "sarah.j@company.com", role: "مدیر", status: "فعال", }, { id: 2, name: "مایکل چن", email: "m.chen@company.com", role: "همکار", status: "دعوت‌شده", }, ]; return (

اعضای تیم

مدیریت و دعوت کاربران به تیم

نام ایمیل نقش وضعیت {users.map((user) => ( {user.name} {user.email} {user.role} {user.status} ))}
{heading}
e.preventDefault()} className="flex flex-col gap-4 bg-muted pt-4" >