Theme: Renames new theme model from GrafanaThemeV2 to just GrafanaTheme (#33619)

This commit is contained in:
Torkel Ödegaard
2021-05-03 09:45:54 +02:00
committed by GitHub
parent b165bfabc1
commit 7ee994f843
130 changed files with 291 additions and 288 deletions

View File

@@ -1,6 +1,6 @@
import React, { useCallback, useState } from 'react';
import { HorizontalGroup, useStyles2, VerticalGroup } from '@grafana/ui';
import { GrafanaThemeV2, PanelPluginMeta, SelectableValue } from '@grafana/data';
import { GrafanaTheme2, PanelPluginMeta, SelectableValue } from '@grafana/data';
import { css } from '@emotion/css';
import { FilterInput } from '../../../../core/components/FilterInput/FilterInput';
import { SortPicker } from '../../../../core/components/Select/SortPicker';
@@ -93,7 +93,7 @@ export const LibraryPanelsSearch = ({
);
};
function getStyles(theme: GrafanaThemeV2) {
function getStyles(theme: GrafanaTheme2) {
return {
container: css`
width: 100%;