PanelChrome: Adds display mode to support transparent option (#62647)

* PanelChrome: Add transparent displayMode

* Remove comment

* Fixes to storybook and new example

* no background on TitleItem

---------

Co-authored-by: polinaboneva <polina.boneva@grafana.com>
This commit is contained in:
Torkel Ödegaard
2023-02-01 10:57:43 +01:00
committed by GitHub
parent 2d90a01f6a
commit 533c8e4b7a
4 changed files with 28 additions and 20 deletions

View File

@@ -679,6 +679,7 @@ export class PanelStateWrapper extends PureComponent<Props, State> {
dragClass={dragClass}
dragClassCancel="grid-drag-cancel"
padding={padding}
displayMode={transparent ? 'transparent' : 'default'}
>
{(innerWidth, innerHeight) => (
<>