import React from "react"; import * as cn from "./LocaleSwitcher.styles"; export interface LocaleSwitcherLocale { code: string; name?: string; } export interface LocaleSwitcherProps { locales: LocaleSwitcherLocale[]; value: string; onChange?: (next: string) => void; className?: string; "aria-label"?: string; } export function LocaleSwitcher(props: LocaleSwitcherProps) { const handleChange = (e: React.ChangeEvent) => { props.onChange?.(e.target.value); }; return ( ); }