Commit 639dc6c3 by Hugo Häggmark

Moved Label to grafana/ui/components

parent 6edc4e9f
import React, { SFC, ReactNode } from 'react';
import { Tooltip } from '@grafana/ui';
import { Tooltip } from '../Tooltip/Tooltip';
interface Props {
tooltip?: string;
......
......@@ -2,6 +2,7 @@ export { DeleteButton } from './DeleteButton/DeleteButton';
export { Tooltip } from './Tooltip/Tooltip';
export { Portal } from './Portal/Portal';
export { CustomScrollbar } from './CustomScrollbar/CustomScrollbar';
export { Label } from './Label/Label';
// Select
export { Select, AsyncSelect, SelectOptionItem } from './Select/Select';
......
import React, { PureComponent } from 'react';
import { Select, Label } from '@grafana/ui';
import { Label } from 'app/core/components/Label/Label';
import { Select } from '@grafana/ui';
import { getBackendSrv, BackendSrv } from 'app/core/services/backend_srv';
import { DashboardSearchHit } from 'app/types';
......
import React, { SFC } from 'react';
import { Label } from 'app/core/components/Label/Label';
import { Label } from '@grafana/ui';
import { Switch } from '../../../core/components/Switch/Switch';
export interface Props {
......
import React from 'react';
import { connect } from 'react-redux';
import { Label } from '@grafana/ui';
import { Label } from 'app/core/components/Label/Label';
import { SharedPreferences } from 'app/core/components/SharedPreferences/SharedPreferences';
import { updateTeam } from './state/actions';
import { getRouteParamsId } from 'app/core/selectors/location';
......
import React, { PureComponent } from 'react';
import { GaugeOptions, PanelOptionsProps, PanelOptionsGroup } from '@grafana/ui';
import { GaugeOptions, PanelOptionsProps, PanelOptionsGroup, Label } from '@grafana/ui';
import { Switch } from 'app/core/components/Switch/Switch';
import { Label } from '../../../core/components/Label/Label';
export default class GaugeOptionsEditor extends PureComponent<PanelOptionsProps<GaugeOptions>> {
onToggleThresholdLabels = () =>
......
import React, { PureComponent } from 'react';
import { MappingType, RangeMap, Select, ValueMap } from '@grafana/ui';
import { Label } from 'app/core/components/Label/Label';
import { MappingType, RangeMap, Select, ValueMap, Label } from '@grafana/ui';
interface Props {
mapping: ValueMap | RangeMap;
......
import React, { PureComponent } from 'react';
import { GaugeOptions, PanelOptionsProps, PanelOptionsGroup } from '@grafana/ui';
import { GaugeOptions, PanelOptionsProps, PanelOptionsGroup, Label, Select } from '@grafana/ui';
import { Label } from 'app/core/components/Label/Label';
import { Select} from '@grafana/ui';
import UnitPicker from 'app/core/components/Select/UnitPicker';
const statOptions = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment