Files
prowler/ui/components/scans/table/cells/scan-info-cell.tsx
T

18 lines
427 B
TypeScript

"use client";
import { getScanAlias } from "@/components/scans/scans.utils";
import { EntityInfo } from "@/components/ui/entities";
import type { ScanProps } from "@/types";
export function ScanInfoCell({ scan }: { scan: ScanProps }) {
return (
<div className="max-w-[240px] min-w-0">
<EntityInfo
entityAlias={getScanAlias(scan)}
entityId={scan.id}
idLabel="ID"
/>
</div>
);
}