1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +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,3 +1,5 @@
import { AlertTriangle, Check } from 'lucide-react';
import { usePublicSettings } from '@/react/portainer/settings/queries';
import { Icon } from '@@/Icon';
@ -17,12 +19,12 @@ export function PasswordCheckHint({
return (
<div>
<p className="text-warning vertical-center">
<Icon icon="alert-triangle" className="icon-warning" feather />
<Icon icon={AlertTriangle} className="icon-warning" />
{forceChangePassword &&
'An administrator has changed your password requirements, '}
The password must be at least {minPasswordLength} characters long.
{passwordValid && (
<i className="fa fa-check green-icon space-left" aria-hidden="true" />
<Icon icon={Check} className="!ml-1" mode="success" />
)}
</p>
</div>