How to use the terra-application-utility.UtilityUtils.LOCATIONS function in terra-application-utility

To help you get started, we’ve selected a few terra-application-utility examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cerner / terra-framework / packages / terra-application-layout / src / utils / utilityHelpers.jsx View on Github external
key: defaultKeys.ABOUT,
      title: aboutTitle(intl),
    },
    {
      key: defaultKeys.TERMS_OF_USE,
      title: termsOfUseTitle(intl),
    },
  ];

  return reconcileChildren(defaultConfig, additionalItems);
};

export default {
  getDefaultUtilityItems,
  defaultKeys,
  locations: UtilityUtils.LOCATIONS,
};
github cerner / terra-framework / packages / terra-application-layout / src / utils / utilityHelpers.jsx View on Github external
content: userDataComponent,
      childKeys: [
        defaultKeys.CHANGE_PHOTO,
      ],
    },
    {
      key: defaultKeys.SETTINGS,
      title: settingsTitle(intl),
      childKeys: [
        defaultKeys.APPEARANCE,
        defaultKeys.SECURITY,
      ],
    },
    {
      key: defaultKeys.LOG_OUT,
      contentLocation: UtilityUtils.LOCATIONS.FOOTER,
      title: logOutTitle(intl),
    },
    {
      key: defaultKeys.HELP,
      title: helpTitle(intl),
      childKeys: [
        defaultKeys.GETTING_STARTED,
        defaultKeys.ABOUT,
        defaultKeys.TERMS_OF_USE,
      ],
    },
    {
      key: defaultKeys.CHANGE_PHOTO,
      title: changePhotoTitle(intl),
    },
    {

terra-application-utility

The Utility is used to disclose a utility menu. There are two versions - a header version and menu version. These should be used with the corresponding `terra-application-header-layout` and `terra-application-menu-layout` components.

Apache-2.0
Latest version published 6 months ago

Package Health Score

54 / 100
Full package analysis