mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29: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:
parent
9dfac98a26
commit
d78b762f7b
498 changed files with 2102 additions and 2817 deletions
|
@ -9,8 +9,6 @@ interface Props {
|
|||
alt?: string;
|
||||
size?: BadgeSize;
|
||||
className?: string;
|
||||
// additional fallback badge props
|
||||
feather?: boolean;
|
||||
}
|
||||
|
||||
export function FallbackImage({
|
||||
|
@ -19,7 +17,6 @@ export function FallbackImage({
|
|||
alt,
|
||||
size,
|
||||
className,
|
||||
feather,
|
||||
}: Props) {
|
||||
const [error, setError] = useState(false);
|
||||
|
||||
|
@ -39,5 +36,5 @@ export function FallbackImage({
|
|||
}
|
||||
|
||||
// fallback icon if there is an error loading the image
|
||||
return <BadgeIcon icon={fallbackIcon} featherIcon={feather} size={size} />;
|
||||
return <BadgeIcon icon={fallbackIcon} size={size} />;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue