From 290d2aaa8a95015442de7c64f3e723d105a03147 Mon Sep 17 00:00:00 2001 From: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com> Date: Tue, 8 Apr 2025 08:54:45 -0500 Subject: [PATCH] PanelChrome: move showMenuAlways prop to base types (#103553) fix: move showMenuAlways prop to base types --- .../grafana-ui/src/components/PanelChrome/PanelChrome.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/grafana-ui/src/components/PanelChrome/PanelChrome.tsx b/packages/grafana-ui/src/components/PanelChrome/PanelChrome.tsx index da66a749ffe..149ffbabef1 100644 --- a/packages/grafana-ui/src/components/PanelChrome/PanelChrome.tsx +++ b/packages/grafana-ui/src/components/PanelChrome/PanelChrome.tsx @@ -70,6 +70,10 @@ interface BaseProps { */ onMouseMove?: () => void; onMouseEnter?: () => void; + /** + * If true, the VizPanelMenu will always be visible in the panel header. Defaults to false. + */ + showMenuAlways?: boolean; } interface FixedDimensions extends BaseProps { @@ -87,10 +91,6 @@ interface AutoSize extends BaseProps { interface Collapsible { collapsible: boolean; collapsed?: boolean; - /** - * If true, the VizPanelMenu will always be visible in the panel header. Defaults to false. - */ - showMenuAlways?: boolean; /** * callback when collapsing or expanding the panel */