1 | import { IconBaseProps } from './Icon';
|
2 | import { IconDefinition } from '@ant-design/icons-svg/lib/types';
|
3 | import { TwoToneColor } from './twoTonePrimaryColor';
|
4 | import { FunctionalComponent } from 'vue';
|
5 | export interface AntdIconProps extends IconBaseProps {
|
6 | twoToneColor?: TwoToneColor;
|
7 | }
|
8 | export interface IconComponentProps extends AntdIconProps {
|
9 | icon: IconDefinition;
|
10 | }
|
11 | interface Color {
|
12 | getTwoToneColor: () => TwoToneColor;
|
13 | setTwoToneColor: (twoToneColor: TwoToneColor) => void;
|
14 | }
|
15 | export interface AntdIconType extends Color, FunctionalComponent<IconComponentProps> {
|
16 | displayName: string;
|
17 | }
|
18 | declare const Icon: AntdIconType;
|
19 | export default Icon;
|