import { UserManageAuthItem } from './user-manage-auth-item';
import { UserManageAuthListProps } from '../model/types';

export const UserManageAuthList = ({
  userItems,
  mid
}: UserManageAuthListProps) => {
  console.log("UserManageAuthList", userItems, mid);
  return (
    <div className="auth-list">
      {userItems.map((item) => (
        <UserManageAuthItem 
          key={item.usrid}
          usrid={item.usrid}
          mid={mid}
          idCL={item.idCL}
          status={item.status}
        />
      ))}
    </div>
  );
};