Translation navigation example

Default

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/translation_nav", {
  translations: [
    {
      locale: "en",
      base_path: "/en",
      text: "English",
      active: true
    },
    {
      locale: "hi",
      base_path: "/hi",
      text: "हिंदी"
    }
  ]
} %>