5 lines
185 B
TypeScript
5 lines
185 B
TypeScript
export default ({ otherLang, baseURL }) => <a
|
|
href={otherLang.urlPrefix ? `/${otherLang.urlPrefix }${baseURL}` : baseURL}
|
|
class="ps-homelink ps-homelink_lang"
|
|
>{otherLang.slug}</a>
|