1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49: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,7 +1,8 @@
import { ChangeEvent, ReactNode } from 'react';
import { Trash2 } from 'lucide-react';
import { Icon } from '@@/Icon';
import { FormError } from '@@/form-components/FormError';
import { Button } from '@@/buttons';
import { Annotation } from './types';
@ -69,13 +70,14 @@ export function Annotations({
)}
</div>
<div className="col-sm-3 !pl-0 !m-0">
<button
className="btn btn-sm btn-dangerlight btn-only-icon !ml-0"
<Button
size="small"
color="dangerlight"
className="btn-only-icon !ml-0"
type="button"
onClick={() => removeAnnotation(i)}
>
<Icon icon="trash-2" size="md" feather />
</button>
icon={Trash2}
/>
</div>
</div>
))}