Icon offline, svg in public und ein icon component erstellt

This commit is contained in:
Ismail Ali
2025-04-06 00:16:03 +02:00
parent 3965f83f4c
commit 8e48800d81
3 changed files with 20 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
import React from "react";
type Props = {
className?: string;
onClick?: () => void;
};
export default function CogIcon({ className, onClick }: Props) {
return (
<img
src="/icons/mdi--cog-outline.svg"
alt="Einstellungen"
className={className}
onClick={onClick}
/>
);
}