1 | import { IconDefinition } from '@ant-design/icons-svg/lib/types';
|
2 | import { CSSProperties, FunctionalComponent } from 'vue';
|
3 | export interface IconProps {
|
4 | icon: IconDefinition;
|
5 | class?: string;
|
6 | onClick?: (e?: Event) => void;
|
7 | style?: CSSProperties;
|
8 | primaryColor?: string;
|
9 | secondaryColor?: string;
|
10 | focusable?: string;
|
11 | }
|
12 | export interface TwoToneColorPaletteSetter {
|
13 | primaryColor: string;
|
14 | secondaryColor?: string;
|
15 | }
|
16 | export interface TwoToneColorPalette extends TwoToneColorPaletteSetter {
|
17 | calculated?: boolean;
|
18 | }
|
19 | interface Color {
|
20 | getTwoToneColors: () => TwoToneColorPalette;
|
21 | setTwoToneColors: (twoToneColors: TwoToneColorPaletteSetter) => void;
|
22 | }
|
23 | export interface IconBaseType extends Color, FunctionalComponent<IconProps> {
|
24 | displayName: string;
|
25 | }
|
26 | declare const IconBase: IconBaseType;
|
27 | export default IconBase;
|