'use client'; import { MoreVertical, Mail, Shield, Calendar } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Badge } from "@/components/ui/badge"; interface UserMobileCardProps { name: string; email: string; role: string; joinedAt?: string; status: 'active' | 'inactive'; } export const UserMobileCard: React.FC = ({ name, email, role, joinedAt, status }) => { return (
{/* Header section */}
{/* Avatar will be here */}
{name.split(" ").map(n => n[0]).join("")}
{name} {email}
{status}
{/* Footer section: role and options */}
Role: {role}
Joined: {joinedAt}
) }