mirror of
https://github.com/apache/superset.git
synced 2024-09-16 02:29:39 -04:00
Remove TwoTone icons (#19666)
This commit is contained in:
parent
7b0b029318
commit
6a3220f905
@ -23,6 +23,7 @@ import { StyledIcon } from './Icon';
|
||||
import IconType from './IconType';
|
||||
|
||||
const AntdEnhancedIcons = Object.keys(AntdIcons)
|
||||
.filter(k => !k.includes('TwoTone'))
|
||||
.map(k => ({
|
||||
[k]: (props: IconType) => (
|
||||
<StyledIcon component={AntdIcons[k]} {...props} />
|
||||
|
@ -21,7 +21,6 @@ import { IconComponentProps } from '@ant-design/icons/lib/components/Icon';
|
||||
type AntdIconType = IconComponentProps;
|
||||
type IconType = AntdIconType & {
|
||||
iconColor?: string;
|
||||
twoToneColor?: string;
|
||||
iconSize?: 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
|
||||
};
|
||||
|
||||
|
@ -78,11 +78,6 @@ InteractiveIcons.argTypes = {
|
||||
defaultValue: null,
|
||||
control: { type: 'select', options: palette },
|
||||
},
|
||||
// @TODO twoToneColor is being ignored
|
||||
twoToneColor: {
|
||||
defaultValue: null,
|
||||
control: { type: 'select', options: palette },
|
||||
},
|
||||
theme: {
|
||||
table: {
|
||||
disable: true,
|
||||
|
Loading…
Reference in New Issue
Block a user