Forms migration: Remove Input from Forms namespace (#23301)

This commit is contained in:
Tobias Skarhed
2020-04-03 10:04:19 +02:00
committed by GitHub
parent c7ffc1199c
commit 2e58a65e8f
21 changed files with 61 additions and 65 deletions

View File

@@ -1,6 +1,6 @@
import React, { FC } from 'react';
import { escapeStringForRegex, unEscapeStringFromRegex } from '@grafana/data';
import { Forms, Icon } from '@grafana/ui';
import { Input, Icon } from '@grafana/ui';
export interface Props {
value: string | undefined;
@@ -11,7 +11,7 @@ export interface Props {
}
export const FilterInput: FC<Props> = props => (
<Forms.Input
<Input
// Replaces the usage of ref
autoFocus
prefix={<Icon name="search" />}