Skip to content

Commit 7364649

Browse files
author
Maja Grubic
committed
Applying new FieldIcon component in the rest of the components
1 parent 22df74a commit 7364649

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/legacy/ui/public/directives/field_name/field_name.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import React from 'react';
2020
import classNames from 'classnames';
2121
// @ts-ignore
2222
import { shortenDottedString } from '../../../../core_plugins/kibana/common/utils/shorten_dotted_string';
23-
import { FieldNameIcon } from './field_name_icon';
23+
import { FieldIcon } from '../../../../../../src/plugins/kibana_react/public';
2424
import { getFieldTypeName } from './field_type_name';
2525

2626
// property field is provided at discover's field chooser
@@ -53,7 +53,7 @@ export function FieldName({ field, fieldName, fieldType, useShortDots }: Props)
5353

5454
return (
5555
<span className={className} title={typeName}>
56-
<FieldNameIcon type={type} label={typeName} />
56+
<FieldIcon type={type} label={typeName} />
5757
<span className="dscFieldName">{displayName}</span>
5858
</span>
5959
);

0 commit comments

Comments
 (0)