import { Box, Typography } from "@mui/material";
type DetailFieldHighlight = "green" | "yellow" | "red";
type DetailFieldProps = {
label: string;
value: string;
className?: string;
highlight?: DetailFieldHighlight | "";
};
export function DetailField({ label, value, className, highlight }: DetailFieldProps) {
const colorClass =
highlight === "green"
? "text-green-600"
: highlight === "yellow"
? "text-yellow-600"
: highlight === "red"
? "text-red-600"
: undefined;
return (
{label}
{value}
);
}
export function DetailFieldGrid({ children }: { children: React.ReactNode }) {
return {children};
}