import { MountPoint } from 'docker-types/generated/1.44'; import { DatabaseIcon } from 'lucide-react'; import { Widget, WidgetBody } from '@@/Widget'; import { DetailsTable } from '@@/DetailsTable'; import { VolumeRow } from './VolumeRow'; interface Props { volumes: Array | undefined; nodeName?: string; } export function VolumesSection({ volumes, nodeName }: Props) { if (!volumes || volumes.length === 0) { return null; } return ( {volumes.map((volume) => ( ))} ); }