mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Theme: Renames new theme model from GrafanaThemeV2 to just GrafanaTheme (#33619)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React, { FC, useMemo } from 'react';
|
||||
import { GrafanaThemeV2 } from '@grafana/data';
|
||||
import { GrafanaTheme2 } from '@grafana/data';
|
||||
import { PageToolbar, Button, useStyles2, CustomScrollbar, Spinner, Alert } from '@grafana/ui';
|
||||
import { css } from '@emotion/css';
|
||||
|
||||
@@ -128,7 +128,7 @@ export const AlertRuleForm: FC<Props> = ({ existing }) => {
|
||||
);
|
||||
};
|
||||
|
||||
const getStyles = (theme: GrafanaThemeV2) => {
|
||||
const getStyles = (theme: GrafanaTheme2) => {
|
||||
return {
|
||||
buttonSpinner: css`
|
||||
margin-right: ${theme.spacing(1)};
|
||||
|
||||
Reference in New Issue
Block a user