feat: add icon components and update ImageLightbox with icons and Button

This commit is contained in:
Ilia Mashkov
2026-05-22 12:46:47 +03:00
parent eeb7d6b4a6
commit 7a06d42d20
5 changed files with 102 additions and 9 deletions
+30
View File
@@ -0,0 +1,30 @@
type Props = {
/**
* CSS classes on the svg element
*/
className?: string;
};
/**
* Magnify / search icon (Lucide).
*/
export function MagnifyIcon({ className }: Props) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
aria-hidden={true}
className={className}
>
<path d="m21 21-4.34-4.34" />
<circle cx="11" cy="11" r="8" />
</svg>
);
}