mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-11-09 04:38:49 +00:00
18 lines
427 B
TypeScript
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>
|
|
);
|
|
}
|