@dxos/react-ui 0.4.7-main.be31fed → 0.4.7-main.dca306f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,6 +33,7 @@ import { initReactI18next, useTranslation as useI18NextTranslation } from "react
33
33
  var initialLng = "en-US";
34
34
  var initialNs = "dxos-common";
35
35
  var initialDtLocale = dtLocaleEnUs;
36
+ var toLocalizedString = (label, t) => Array.isArray(label) ? t(...label) : label;
36
37
  var resources = {
37
38
  [initialLng]: {
38
39
  [initialNs]: {
@@ -2161,6 +2162,7 @@ export {
2161
2162
  TreeItem,
2162
2163
  getJdenticonHref,
2163
2164
  hasIosKeyboard,
2165
+ toLocalizedString,
2164
2166
  useAvatarContext,
2165
2167
  useButtonGroupContext,
2166
2168
  useDensityContext,