1 | import * as React from 'react';
|
2 | import type { IconDefinition } from '@ant-design/icons-svg/lib/types';
|
3 | import type { IconBaseProps } from './Icon';
|
4 | import { getTwoToneColor, TwoToneColor, setTwoToneColor } from './twoTonePrimaryColor';
|
5 | export interface AntdIconProps extends IconBaseProps {
|
6 | twoToneColor?: TwoToneColor;
|
7 | }
|
8 | export interface IconComponentProps extends AntdIconProps {
|
9 | icon: IconDefinition;
|
10 | }
|
11 | interface IconBaseComponent<Props> extends React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLSpanElement>> {
|
12 | getTwoToneColor: typeof getTwoToneColor;
|
13 | setTwoToneColor: typeof setTwoToneColor;
|
14 | }
|
15 | declare const Icon: IconBaseComponent<IconComponentProps>;
|
16 | export default Icon;
|