+ )
+}
\ No newline at end of file
diff --git a/frontend/src/components/basics/SvgIcon.tsx b/frontend/src/components/basics/SvgIcon.tsx
index 83ac6b4..8a86c8a 100644
--- a/frontend/src/components/basics/SvgIcon.tsx
+++ b/frontend/src/components/basics/SvgIcon.tsx
@@ -8,21 +8,23 @@
*/
export const Icon = {
LookingGlass: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z",
- X: "M6 18L18 6M6 6l12 12"
+ X: "M6 18L18 6M6 6l12 12",
+ Plus: "M3 12L21 12M12 3L12 21"
} as const;
export type Icon = typeof Icon[keyof typeof Icon];
type SvgIconProps = {
- pathDefinition : string
icon : Icon
+ color?: string // optional stroke color
+ hoverColor?: string // optional hover color, set to undefined to deactivate hover
}
-export default function SvgIcon({icon} : SvgIconProps){
+export default function SvgIcon({icon, color="text-gray-400", hoverColor="text-gray-500"} : SvgIconProps){
return (