import { jsx as _jsx } from "react/jsx-runtime";
import { LocaleItem, LocaleSwitcherWrapper } from "./footer.styled";
export const LocaleSwitcher = ({ locale, locales, changeLocale }) => {
    return (_jsx(LocaleSwitcherWrapper, { children: locales.map((l) => (_jsx(LocaleItem, { isActive: locale === l, onClick: () => changeLocale(l), children: l }, l))) }));
};
//# sourceMappingURL=footer.lang-switcher.js.map