mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Forms migration: Input namespace (#23286)
* Update exports * Add LegacyForms namespace * Update ci grep
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import React, { FunctionComponent, useState } from 'react';
|
||||
import { debounce } from 'lodash';
|
||||
import { Input } from '@grafana/ui';
|
||||
import { LegacyForms } from '@grafana/ui';
|
||||
const { Input } = LegacyForms;
|
||||
|
||||
export interface Props {
|
||||
onChange: (alias: any) => void;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
import { FormLabel, LegacyForms, Input, Button } from '@grafana/ui';
|
||||
const { Select } = LegacyForms;
|
||||
import { FormLabel, LegacyForms, Button } from '@grafana/ui';
|
||||
const { Select, Input } = LegacyForms;
|
||||
import {
|
||||
DataSourcePluginOptionsEditorProps,
|
||||
onUpdateDatasourceJsonDataOptionSelect,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import React, { PureComponent, ChangeEvent } from 'react';
|
||||
import { ExploreQueryFieldProps } from '@grafana/data';
|
||||
import { Input, ValidationEvents, EventsWithValidation, Switch } from '@grafana/ui';
|
||||
import { LegacyForms, ValidationEvents, EventsWithValidation, Switch } from '@grafana/ui';
|
||||
const { Input } = LegacyForms;
|
||||
import isEmpty from 'lodash/isEmpty';
|
||||
import { CloudWatchQuery } from '../types';
|
||||
import CloudWatchDatasource from '../datasource';
|
||||
|
||||
Reference in New Issue
Block a user