You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/react/docker/DashboardView/ImagesTotalSize.tsx

19 lines
446 B

import clsx from 'clsx';
import { PieChart } from 'lucide-react';
import { Icon } from '@/react/components/Icon';
import { humanize } from '@/portainer/filters/filters';
interface Props {
imagesTotalSize: number;
}
export function ImagesTotalSize({ imagesTotalSize }: Props) {
return (
<div className="vertical-center">
<Icon icon={PieChart} className={clsx('space-right')} />
{humanize(imagesTotalSize)}
</div>
);
}