components icon indicating copy to clipboard operation
components copied to clipboard

chore: Expose private API to disable breadcrumbs globalization

Open just-boris opened this issue 1 year ago • 0 comments

Description

App Layout toolbar automatically absorbs all BreadcrumbGroup instances from the page to place them into the toolbar slot.

This feature allows to opt out with this code

<BreadcrumbGroup items={[{ text: 'Local', href: '' }]} {...{ __disableGlobalization: true }} />

Related links, issue #, if available: AWSUI-59794

How has this been tested?

Added unit test

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

just-boris avatar Oct 17 '24 13:10 just-boris