import{jsx as o}from"react/jsx-runtime";function n({locale:t,onChange:r}){return o("div",{className:"inline-flex rounded-full border border-border bg-card p-1 font-semibold text-muted-foreground text-xs",children:["EN","FR"].map((e)=>o("button",{type:"button",className:`rounded-full px-3 py-1 transition ${t===e?"bg-violet-500 text-white":"hover:text-foreground"}`,onClick:()=>r(e),children:e==="EN"?"English":"Français"},e))})}export{n as LanguageSwitcher};
