import { ScanHeartIcon } from "lucide-react"; import type { GetVolumeResponse } from "~/api-client"; import { Button } from "~/components/ui/button"; import { Card } from "~/components/ui/card"; import { Switch } from "~/components/ui/switch"; type Props = { volume: GetVolumeResponse; }; export const HealthchecksCard = ({ volume }: Props) => { return (

Health Checks

Status: {volume.status ?? "Unknown"} Last checked: {new Date(volume.lastHealthCheck).toLocaleString()} Enable auto remount
); };