feat: fix svg icons style issues

This commit is contained in:
2026-05-28 11:26:37 -07:00
parent 4a7a5b9c09
commit 7c38c94a9b
3 changed files with 27 additions and 4 deletions
+23
View File
@@ -0,0 +1,23 @@
import Gitea from "@/public/gitea.svg";
type GiteaIconProps = {
size?: number;
className?: string;
"aria-label"?: string;
};
export default function GiteaIcon({
size = 24,
className,
...rest
}: GiteaIconProps) {
return (
<Gitea
width={size}
height={size}
className={className}
aria-hidden
{...rest}
/>
);
}