misk-web
misk-web copied to clipboard
Allow override for NavbarContainer truncateNavbarItemsByScreenWidth()
Different apps will have better context on how many items to show and be able to provide better truncating than the default basic heuristic.
https://github.com/cashapp/misk-web/blob/cfb8cf95d6d6dee5f1bf2a0e8a1a2c893682ae48/packages/%40misk/core/src/features/Navbar/processNavbarItems.tsx#L55