Merged in feat/sw-3145-move-iconbyiconname-to-design-system (pull request #2589)

Move icon components to design-system

* Move icon components to design-system


Approved-by: Hrishikesh Vaipurkar
This commit is contained in:
Anton Gunnarsson
2025-08-04 11:32:00 +00:00
parent b7f2afb5e4
commit b52a3f5847
29 changed files with 374 additions and 382 deletions

View File

@@ -1,11 +1,13 @@
"use client"
import { IconByIconName } from "@/components/Icons/IconByIconName"
import { IconByIconName } from "@scandic-hotels/design-system/Icons/IconByIconName"
import { trackSocialMediaClick } from "@/utils/tracking"
import type { IconName } from "@scandic-hotels/design-system/Icons/iconName"
import type { SocialIconsProps } from "@/types/components/footer/socialIcons"
import type { SocialLinkProps } from "@/types/components/footer/socialLink"
import type { IconName } from "@/components/Icons/iconName"
function SocialIcon({ iconName }: SocialIconsProps) {
const SocialIcon = (