mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 06:32:17 +08:00
@grafana/ui: Replace various icons using Icon component (#23442)
* Replace icons in dashboard and settings * Replace icons in alerting * Update batch of icons * Implement icons accross various files * Style updates * Search: Fix recent and starred icons * Update styling and details * Replace new icon created by unicons * Fix e2e test, styling * Minor styling updates Co-authored-by: Clarity-89 <homes89@ukr.net>
This commit is contained in:
@ -5,7 +5,7 @@ import React, { PureComponent } from 'react';
|
||||
import { InputDatasource, describeDataFrame } from './InputDatasource';
|
||||
import { InputQuery, InputOptions } from './types';
|
||||
|
||||
import { FormLabel, LegacyForms, TableInputCSV } from '@grafana/ui';
|
||||
import { FormLabel, LegacyForms, TableInputCSV, Icon } from '@grafana/ui';
|
||||
const { Select } = LegacyForms;
|
||||
import { DataFrame, toCSV, SelectableValue, MutableDataFrame, QueryEditorProps } from '@grafana/data';
|
||||
|
||||
@ -78,7 +78,7 @@ export class InputQueryEditor extends PureComponent<Props, State> {
|
||||
) : (
|
||||
<a href={`datasources/edit/${id}/`}>
|
||||
{name}: {describeDataFrame(datasource.data)}
|
||||
<i className="fa fa-pencil-square-o" />
|
||||
<Icon name="pen" />
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user