From cbf1f9759176f257e23a27586ef5c04895082223 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Fri, 30 Jan 2026 23:35:33 +0000 Subject: [PATCH] initial table commit --- .../Incidents/Components/IncidentTable.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/client/src/Pages/Incidents/Components/IncidentTable.tsx b/client/src/Pages/Incidents/Components/IncidentTable.tsx index e69de29bb..93b09830b 100644 --- a/client/src/Pages/Incidents/Components/IncidentTable.tsx +++ b/client/src/Pages/Incidents/Components/IncidentTable.tsx @@ -0,0 +1,17 @@ +import { Table } from "@/Components/v2/design-elements"; +import type { Header } from "@/Components/v2/design-elements"; +import type { Incident } from "@/Types/Incident"; +import type { Monitor } from "@/Types/Monitor"; + +interface IncidentsTableProps { + incidents?: Incident[]; + monitors?: Monitor[]; +} +export const IncidentsTable = ({ incidents, monitors }: IncidentsTableProps) => { + if (!incidents || !monitors) { + return null; + } + + // Headers: Monitor name, status, start time, end time, resolution type, status code, message, actions + return "Table here"; +};