Fixed issue with sass variables used from typescript, the prettier lowercases export variables

This commit is contained in:
Torkel Ödegaard 2019-02-13 16:36:59 +01:00
parent c243e78913
commit ef9e74fabb
2 changed files with 4 additions and 4 deletions

View File

@ -125,8 +125,8 @@ export class PanelChrome extends PureComponent<Props, State> {
panelData={panelData}
timeRange={timeRange}
options={panel.getOptions(plugin.exports.PanelDefaults)}
width={width - 2 * variables.panelHorizontalPadding}
height={height - PANEL_HEADER_HEIGHT - variables.panelVerticalPadding}
width={width - 2 * variables.panelhorizontalpadding}
height={height - PANEL_HEADER_HEIGHT - variables.panelverticalpadding}
renderCounter={renderCounter}
onInterpolate={this.onInterpolate}
/>

View File

@ -1,6 +1,6 @@
export interface GrafanaVariables {
panelHorizontalPadding: number;
panelVerticalPadding: number;
panelhorizontalpadding: number;
panelverticalpadding: number;
}
declare const variables: GrafanaVariables;