mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fixing imports, minor fix on mapping row
This commit is contained in:
parent
58094faa12
commit
83fbf52aac
@ -1,7 +1,7 @@
|
|||||||
import React, { SFC } from 'react';
|
import React, { SFC } from 'react';
|
||||||
import { Label } from '..';
|
import { Label } from '..';
|
||||||
|
|
||||||
interface Props {
|
export interface Props {
|
||||||
label: string;
|
label: string;
|
||||||
inputProps: {};
|
inputProps: {};
|
||||||
labelWidth?: number;
|
labelWidth?: number;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import React, { SFC, ReactNode } from 'react';
|
import React, { SFC, ReactNode } from 'react';
|
||||||
import { Tooltip } from '@grafana/ui';
|
import { Tooltip } from '..';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
tooltip?: string;
|
tooltip?: string;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import React, { PureComponent } from 'react';
|
import React, { PureComponent } from 'react';
|
||||||
|
|
||||||
import { Label } from '../../../../../packages/grafana-ui/src/components/Label/Label';
|
import { Label, Select } from '@grafana/ui';
|
||||||
import { Select } from '@grafana/ui';
|
|
||||||
import { getBackendSrv, BackendSrv } from 'app/core/services/backend_srv';
|
import { getBackendSrv, BackendSrv } from 'app/core/services/backend_srv';
|
||||||
|
|
||||||
import { DashboardSearchHit } from 'app/types';
|
import { DashboardSearchHit } from 'app/types';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import React, { SFC } from 'react';
|
import React, { SFC } from 'react';
|
||||||
import { Label } from '../../../../../packages/grafana-ui/src/components/Label/Label';
|
import { Label } from '@grafana/ui';
|
||||||
import { Switch } from '../../../core/components/Switch/Switch';
|
import { Switch } from '../../../core/components/Switch/Switch';
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
|
|
||||||
import { Label } from '../../../../packages/grafana-ui/src/components/Label/Label';
|
import { Label } from '@grafana/ui';
|
||||||
import { SharedPreferences } from 'app/core/components/SharedPreferences/SharedPreferences';
|
import { SharedPreferences } from 'app/core/components/SharedPreferences/SharedPreferences';
|
||||||
import { updateTeam } from './state/actions';
|
import { updateTeam } from './state/actions';
|
||||||
import { getRouteParamsId } from 'app/core/selectors/location';
|
import { getRouteParamsId } from 'app/core/selectors/location';
|
||||||
|
@ -81,16 +81,15 @@ export default class MappingRow extends PureComponent<Props, State> {
|
|||||||
}}
|
}}
|
||||||
inputWidth={8}
|
inputWidth={8}
|
||||||
/>
|
/>
|
||||||
<FormGroup
|
<div className="gf-form gf-form--grow">
|
||||||
label="Text"
|
<Label width={4}>Text</Label>
|
||||||
labelWidth={4}
|
<input
|
||||||
inputProps={{
|
className="gf-form-input"
|
||||||
onBlur: () => this.updateMapping,
|
onBlur={this.updateMapping}
|
||||||
onChange: event => this.onMappingTextChange(event),
|
value={text}
|
||||||
value: text,
|
onChange={this.onMappingTextChange}
|
||||||
}}
|
/>
|
||||||
inputWidth={10}
|
</div>
|
||||||
/>
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user