Skip to main content
/
/
/
Bifrost

Bifrost

import Bifrost from "@intility/bifrost-react/Bifrost";

Locale

Bifrost ships with English enUS (default), Norwegian nbNO, and Swedish svSE locales. To set current language, pass it to the locale prop.

import Bifrost from "@intility/bifrost-react/Bifrost";
import nbNO from "@intility/bifrost-react/locales/nb-no";
import enUS from "@intility/bifrost-react/locales/en-us";
import svSE from "@intility/bifrost-react/locales/sv-se";

function MyApp() {
  return (
    <Bifrost locale={nbNO}>
      Du vil få norsk tekst på Bifrost komponenter så lenge de brukes her inne
    </Bifrost>
  );
}

Theme

Removed in 5.0 (Deprecated since 4.0)