mirror of
https://github.com/apache/superset.git
synced 2026-06-01 21:59:26 +00:00
chore: Replaces Icon with Icons component - iteration 1 (#14469)
This commit is contained in:
committed by
GitHub
parent
4e6169e0f9
commit
9deb7aa3c1
@@ -26,7 +26,7 @@ import {
|
||||
HeaderContainer,
|
||||
} from 'src/explore/components/controls/OptionControls';
|
||||
import { DatasourcePanelDndItem } from 'src/explore/components/DatasourcePanel/types';
|
||||
import Icon from 'src/components/Icon';
|
||||
import Icons from 'src/components/Icons';
|
||||
import { DndColumnSelectProps } from './types';
|
||||
|
||||
export default function DndSelectLabel<T, O>({
|
||||
@@ -54,7 +54,7 @@ export default function DndSelectLabel<T, O>({
|
||||
function renderGhostButton() {
|
||||
return (
|
||||
<AddControlLabel cancelHover>
|
||||
<Icon name="plus-small" color={theme.colors.grayscale.light1} />
|
||||
<Icons.PlusSmall iconColor={theme.colors.grayscale.light1} />
|
||||
{t(props.ghostButtonText || 'Drop columns')}
|
||||
</AddControlLabel>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user