@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
16 lines (15 loc) • 456 B
JavaScript
"use client";
import { jsx as _jsx } from "react/jsx-runtime";
import enUS from "../../locales/en-us.js";
import { BifrostContext } from "./BifrostContext.js";
/**
* Configure Bifrost globally by wrapping this component around your app
*/ const Bifrost = ({ children, locale = enUS })=>{
return /*#__PURE__*/ _jsx(BifrostContext.Provider, {
value: {
locale
},
children: children
});
};
export default Bifrost;