Merged in feature/LOY-415-sj-widget (pull request #3074)

feat(LOY-415): Add SJ widget

* feat(LOY-415): Add SJ widget
can be added as dynamic content to Content Pages

* feat(LOY-415): init SJ widget with a useEffect instead due to onLoad only being called the first time

* make sure to only initialize the SJ widget once and handle navigation


Approved-by: Erik Tiekstra
This commit is contained in:
Joakim Jäderberg
2025-11-05 13:05:15 +00:00
parent 6e91d538c2
commit 645a99a844
4 changed files with 59 additions and 0 deletions

View File

@@ -29,4 +29,9 @@ interface Window {
right?: string
}
}
SJ?: {
widget?: {
init?: (args: { micrositeId: string; language: "en" | "sv" }) => void
}
}
}