Commit a04bf0cd by Filip Barl Committed by Torkel Ödegaard

Panel: Pass transparency prop down to React panels. (#17235)

parent 972df40a
......@@ -31,6 +31,7 @@ export interface PanelProps<T = any> {
options: T;
onOptionsChange: (options: T) => void;
renderCounter: number;
transparent: boolean;
width: number;
height: number;
replaceVariables: InterpolateFunction;
......
......@@ -254,6 +254,7 @@ export class PanelChrome extends PureComponent<Props, State> {
data={data}
timeRange={data.request ? data.request.range : this.timeSrv.timeRange()}
options={panel.getOptions()}
transparent={panel.transparent}
width={width - theme.panelPadding * 2}
height={innerPanelHeight}
renderCounter={renderCounter}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment