Skip to main content
Version: Next

HeaderTab.matchStrategy

Home > @backstage/ui > HeaderTab > matchStrategy

Strategy for matching the current route to determine if this tab should be active. - 'exact': Tab href must exactly match the current pathname (default) - 'prefix': Tab is active if current pathname starts with tab href

Signature:

matchStrategy?: TabMatchStrategy;