diff --git a/superset-frontend/src/components/Tabs/Tabs.tsx b/superset-frontend/src/components/Tabs/Tabs.tsx
index 704d84b5220..b55d91707da 100644
--- a/superset-frontend/src/components/Tabs/Tabs.tsx
+++ b/superset-frontend/src/components/Tabs/Tabs.tsx
@@ -19,7 +19,7 @@
import React from 'react';
import { css, styled } from '@superset-ui/core';
import AntDTabs, { TabsProps as AntDTabsProps } from 'antd/lib/tabs';
-import Icon from 'src/components/Icon';
+import Icons from 'src/components/Icons';
export interface TabsProps extends AntDTabsProps {
fullWidth?: boolean;
@@ -119,6 +119,9 @@ const StyledEditableTabs = styled(StyledTabs)`
`}
`;
+const StyledCancelXIcon = styled(Icons.CancelX)`
+ color: ${({ theme }) => theme.colors.grayscale.base};
+`;
export const EditableTabs = Object.assign(StyledEditableTabs, {
TabPane: StyledTabPane,
});
@@ -130,9 +133,7 @@ EditableTabs.defaultProps = {
};
EditableTabs.TabPane.defaultProps = {
- closeIcon: (
-
- ),
+ closeIcon: ,
};
export const StyledLineEditableTabs = styled(EditableTabs)`