import { useState } from 'react';
import {
Plus,
Eye,
KeyRound,
Search,
Sparkles
} from "lucide-react";
import Button from "@/components/common/button";
import Table from '@/components/common/dataTable';
import { StatusBadge } from '@/components/common/statusBadge';
export const userHeaders = [
"Name",
"Email",
"Phone",
"Tenants",
"MFA",
"User ID",
"Actions",
];
const UserActionButtons = () => (
);
export const userRows = [
[
,
dhananjay@kafm.io
,
+91 98200 10001
,
4 assigned
,
,
USR-5001
,
,
],
[
,
me.local@kafm.io
,
+91 98201 10010
,
1 assigned
,
,
USR-5002
,
,
],
[
,
tech.local@kafm.io
,
+91 98202 10011
,
2 assigned
,
,
USR-5003
,
,
],
[
,
tenant@kafm.io
,
+91 98203 10012
,
1 assigned
,
,
USR-5004
,
,
],
[
,
help@kafm.io
,
+91 98204 10013
,
2 assigned
,
,
USR-5005
,
,
],
[
,
energy@kafm.io
,
+91 98430 30030
,
1 assigned
,
,
USR-5006
,
,
],
];
export default function UserPortal() {
const [searchQuery, setSearchQuery] = useState('');
return (
{/* --- HEADER SECTION --- */}
PLATFORM
•
USERS
Users
All platform user accounts. Create credentials, assign tenants, and manage passwords. This is the single account store — Operations role access reads from here.
{/* --- HEADER BUTTON --- */}
{/* --- TABLE CONTAINER WITH UPPER BAR --- */}
{/* Table Upper UI (Full-width Search Bar matching screenshot) */}
{/* --- TABLE --- */}
{/* Footer Record Count */}
{userRows.length} records
);
}