Navigation: allow adding extra content (#44048)
* Add PRO badge * Allow adding extra content * Add extra content for the new navbar * Use highlight text instead of extra content * Trigger extra events * Remove ExtraContent * Update public/app/core/components/NavBar/NavFeatureHighlight.tsx Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com> * Remove redundant i * Add UpgradeBox * Move highlight to menu trigger * Clear navbar next * Cleanup * Fix UpgradeBox styles * Add arrow icon Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
co-authored by
Ashley Harrison
parent
c0fc60dfef
commit
aead2e9157
@@ -17,6 +17,7 @@ export interface NavModelItem {
|
||||
showOrgSwitcher?: boolean;
|
||||
onClick?: () => void;
|
||||
menuItemType?: NavMenuItemType;
|
||||
highlightText?: string;
|
||||
}
|
||||
|
||||
export enum NavSection {
|
||||
|
||||
Reference in New Issue
Block a user