mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Form migrations: Final components to LegacyForms (#23707)
* FormField to LegacyForms * FormLabel to InlineFormLabel * Move SecretFormField to LeagcyForms
This commit is contained in:
@@ -13,7 +13,14 @@ 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, ValidationEvents, IconButton } from '@grafana/ui';
|
||||
import {
|
||||
DeleteButton,
|
||||
EventsWithValidation,
|
||||
InlineFormLabel,
|
||||
LegacyForms,
|
||||
ValidationEvents,
|
||||
IconButton,
|
||||
} from '@grafana/ui';
|
||||
const { Input, Switch } = LegacyForms;
|
||||
import { dateTime, isDateTime, NavModel } from '@grafana/data';
|
||||
import { FilterInput } from 'app/core/components/FilterInput/FilterInput';
|
||||
@@ -213,7 +220,7 @@ export class ApiKeysPage extends PureComponent<Props, any> {
|
||||
</span>
|
||||
</div>
|
||||
<div className="gf-form max-width-21">
|
||||
<FormLabel tooltip={tooltipText}>Time to live</FormLabel>
|
||||
<InlineFormLabel tooltip={tooltipText}>Time to live</InlineFormLabel>
|
||||
<Input
|
||||
type="text"
|
||||
className="gf-form-input"
|
||||
|
||||
Reference in New Issue
Block a user