add: some util to dashboard

This commit is contained in:
Johannes Kirschbauer
2023-08-12 17:11:41 +02:00
parent 9a40891f7c
commit cdef88e55e
17 changed files with 582 additions and 116 deletions

View File

@@ -38,19 +38,7 @@ import {
} from "@mui/material";
import hexRgb from "hex-rgb";
import useMediaQuery from "@mui/material/useMediaQuery";
export interface TableData {
name: string;
id: string;
status: NodeStatus;
last_seen: number;
}
export enum NodeStatus {
Online,
Offline,
Pending,
}
import { NodeStatus, TableData } from "@/data/nodeData";
interface HeadCell {
disablePadding: boolean;