Form migrations: Switch to LegacyForms namespace (#23357)

* Move Switch to Legacy namespace

* Make story internal

* Fix import
This commit is contained in:
Tobias Skarhed
2020-04-07 08:50:54 +02:00
committed by GitHub
parent d6b8aaa7b0
commit 553f50e4f5
27 changed files with 52 additions and 42 deletions

View File

@@ -13,8 +13,8 @@ import ApiKeysAddedModal from './ApiKeysAddedModal';
import config from 'app/core/config';
import appEvents from 'app/core/app_events';
import EmptyListCTA from 'app/core/components/EmptyListCTA/EmptyListCTA';
import { DeleteButton, EventsWithValidation, FormLabel, LegacyForms, Switch, ValidationEvents } from '@grafana/ui';
const { Input } = LegacyForms;
import { DeleteButton, EventsWithValidation, FormLabel, LegacyForms, ValidationEvents } from '@grafana/ui';
const { Input, Switch } = LegacyForms;
import { dateTime, isDateTime, NavModel } from '@grafana/data';
import { FilterInput } from 'app/core/components/FilterInput/FilterInput';
import { store } from 'app/store/store';