1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 23:39:41 +02:00
portainer/app/react/nomad/DashboardView/RunningStatus.tsx
Ali d78b762f7b
refactor(icons): replace fa icons [EE-4459] (#7907)
refactor(icons): remove fontawesome EE-4459

refactor(icon) replace feather with lucide EE-4472
2022-11-28 15:00:28 +13:00

23 lines
446 B
TypeScript

import { Power } from 'lucide-react';
import { Icon } from '@@/Icon';
interface Props {
running: number;
stopped: number;
}
export function RunningStatus({ running, stopped }: Props) {
return (
<div>
<div>
<Icon icon={Power} mode="success" />
{`${running || '-'} running`}
</div>
<div>
<Icon icon={Power} mode="danger" />
{`${stopped || '-'} stopped`}
</div>
</div>
);
}