import React from "react"; import clsx from "clsx"; import * as i18n from "../../i18n"; export const LanguageList = ({ onChange, languages = i18n.languages, currentLangCode = i18n.getLanguage().code, floating, }: { languages?: { code: string; label: string }[]; onChange: (langCode: i18n.Language["code"]) => void; currentLangCode?: i18n.Language["code"]; floating?: boolean; }) => ( );