21 lines
377 B
TypeScript
21 lines
377 B
TypeScript
// /components/icons/CogIcon.tsx
|
|
import Image from "next/image";
|
|
|
|
type Props = {
|
|
className?: string;
|
|
onClick?: () => void;
|
|
};
|
|
|
|
const CogIcon: React.FC<Props> = ({ className, onClick }) => (
|
|
<Image
|
|
src="/icons/mdi--cog-outline.svg"
|
|
alt="Einstellungen"
|
|
className={className}
|
|
onClick={onClick}
|
|
width={24}
|
|
height={24}
|
|
/>
|
|
);
|
|
|
|
export default CogIcon;
|