فهرست منبع

Sorting imports

Peter Holmberg 6 سال پیش
والد
کامیت
205a5baa56
1فایلهای تغییر یافته به همراه7 افزوده شده و 3 حذف شده
  1. 7 3
      packages/grafana-ui/src/utils/displayValue.ts

+ 7 - 3
packages/grafana-ui/src/utils/displayValue.ts

@@ -1,10 +1,14 @@
-import { ValueMapping, Threshold } from '../types';
+// Libraries
 import _ from 'lodash';
+import moment from 'moment';
+
+// Utils
 import { getValueFormat, DecimalCount } from './valueFormats/valueFormats';
 import { getMappedValue } from './valueMappings';
-import { GrafanaTheme, GrafanaThemeType } from '../types';
 import { getColorFromHexRgbOrName } from './namedColorsPalette';
-import moment from 'moment';
+
+// Types
+import { GrafanaTheme, GrafanaThemeType, ValueMapping, Threshold } from '../types';
 
 export interface DisplayValue {
   text: string; // Show in the UI