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, setTwoToneColor } from './twoTonePrimaryColor';
|
5 | import type { TwoToneColor } from './twoTonePrimaryColor';
|
6 | export interface AntdIconProps extends IconBaseProps {
|
7 | twoToneColor?: TwoToneColor;
|
8 | }
|
9 | export interface IconComponentProps extends AntdIconProps {
|
10 | icon: IconDefinition;
|
11 | }
|
12 | interface IconBaseComponent<Props> extends React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLSpanElement>> {
|
13 | getTwoToneColor: typeof getTwoToneColor;
|
14 | setTwoToneColor: typeof setTwoToneColor;
|
15 | }
|
16 | declare const Icon: IconBaseComponent<IconComponentProps>;
|
17 | export default Icon;
|