import { Geography } from "../types/index.js"; import React, { ChangeEventHandler } from "react"; import { useTranslation } from "react-i18next"; export interface GeographySwitcherProps { curGeographyId: string; geographies: Geography[]; changeGeography: ChangeEventHandler; } export const GeographySwitcher: React.FunctionComponent< GeographySwitcherProps > = (props) => { const { geographies, curGeographyId, changeGeography } = props; const { t } = useTranslation(); return ( ); };