1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

refactor(icons): replace fa icons [EE-4459] (#7907)

refactor(icons): remove fontawesome EE-4459

refactor(icon) replace feather with lucide EE-4472
This commit is contained in:
Ali 2022-11-28 15:00:28 +13:00 committed by GitHub
parent 9dfac98a26
commit d78b762f7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
498 changed files with 2102 additions and 2817 deletions

View file

@ -1,6 +1,6 @@
import _ from 'lodash';
import { useStore } from 'zustand';
import { Box } from 'react-feather';
import { Box } from 'lucide-react';
import { Environment } from '@/react/portainer/environments/types';
import type { DockerContainer } from '@/react/docker/containers/types';

View file

@ -7,7 +7,7 @@ import {
Slash,
Square,
Trash2,
} from 'react-feather';
} from 'lucide-react';
import * as notifications from '@/portainer/services/notifications';
import { useAuthorizations, Authorized } from '@/react/hooks/useUser';

View file

@ -1,8 +1,11 @@
import { Column } from 'react-table';
import _ from 'lodash';
import { ExternalLink } from 'lucide-react';
import type { DockerContainer, Port } from '@/react/docker/containers/types';
import { Icon } from '@@/Icon';
import { useRowContext } from '../RowContext';
export const ports: Column<DockerContainer> = {
@ -37,7 +40,7 @@ function PortsCell({ value: ports }: Props) {
target="_blank"
rel="noreferrer"
>
<i className="fa fa-external-link-alt" aria-hidden="true" />
<Icon icon={ExternalLink} />
{port.public}:{port.private}
</a>
));