mirror of
https://github.com/grafana/grafana.git
synced 2025-01-26 16:27:02 -06:00
Panel: Pass transparency prop down to React panels. (#17235)
This commit is contained in:
parent
972df40af8
commit
a04bf0cded
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user