mirror of
https://github.com/apache/superset.git
synced 2026-04-21 00:54:44 +00:00
refactor(Icons): Replaces custom icons with Ant Design 5 icons (#32112)
Replace custom icons with Ant Design 5 icons to standardize the icon
This commit is contained in:
@@ -21,6 +21,7 @@ import sql from 'react-syntax-highlighter/dist/cjs/languages/hljs/sql';
|
||||
import github from 'react-syntax-highlighter/dist/cjs/styles/hljs/github';
|
||||
import { IconTooltip } from 'src/components/IconTooltip';
|
||||
import ModalTrigger from 'src/components/ModalTrigger';
|
||||
import Icons from 'src/components/Icons';
|
||||
|
||||
SyntaxHighlighter.registerLanguage('sql', sql);
|
||||
|
||||
@@ -42,10 +43,9 @@ export default function ShowSQL({
|
||||
modalTitle={title}
|
||||
triggerNode={
|
||||
triggerNode || (
|
||||
<IconTooltip
|
||||
className="fa fa-eye pull-left m-l-2"
|
||||
tooltip={tooltipText}
|
||||
/>
|
||||
<IconTooltip className="pull-left m-l-2" tooltip={tooltipText}>
|
||||
<Icons.EyeOutlined iconSize="s" />
|
||||
</IconTooltip>
|
||||
)
|
||||
}
|
||||
modalBody={
|
||||
|
||||
Reference in New Issue
Block a user