fix(SW-184): fixed implementation of useTrapFocus

This commit is contained in:
Erik Tiekstra
2024-08-26 08:09:32 +02:00
parent bdec054ecd
commit a02dcd3428
13 changed files with 324 additions and 79 deletions

View File

@@ -7,5 +7,4 @@ export type LanguageSwitcherLink = {
export type LanguageSwitcherProps = {
urls: LanguageSwitcherData
location?: "header" | "footer"
}

View File

@@ -1,5 +1,10 @@
import { VariantProps } from "class-variance-authority"
import { languageSwitcherVariants } from "@/components/LanguageSwitcher/variants"
import { LanguageSwitcherData } from "@/types/requests/languageSwitcher"
export interface LanguageSwitcherProps {
export interface LanguageSwitcherProps
extends VariantProps<typeof languageSwitcherVariants> {
urls: LanguageSwitcherData
}