mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Form migrations: Switch to LegacyForms namespace (#23357)
* Move Switch to Legacy namespace * Make story internal * Fix import
This commit is contained in:
@@ -2,10 +2,10 @@ import _ from 'lodash';
|
||||
import React, { PureComponent } from 'react';
|
||||
|
||||
// Types
|
||||
import { FormLabel, LegacyForms, Switch } from '@grafana/ui';
|
||||
import { FormLabel, LegacyForms } from '@grafana/ui';
|
||||
import { SelectableValue, QueryEditorProps } from '@grafana/data';
|
||||
|
||||
const { Select } = LegacyForms;
|
||||
const { Select, Switch } = LegacyForms;
|
||||
|
||||
import { PrometheusDatasource } from '../datasource';
|
||||
import { PromQuery, PromOptions } from '../types';
|
||||
|
||||
Reference in New Issue
Block a user