import { Widget, WidgetBody, WidgetTitle } from '@/portainer/components/widget'; import { DetailsTable } from '@/portainer/components/DetailsTable'; import { NetworkOptions } from '../types'; type Props = { options: NetworkOptions; }; export function NetworkOptionsTable({ options }: Props) { const networkEntries = Object.entries(options); if (networkEntries.length === 0) { return null; } return (