import * as React from 'react'; import './index.less'; import { ComponentType, CSSProperties } from 'react'; import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon'; import { IconifyJSON } from '@iconify-icon/react'; interface IconProps { iconName?: string; style?: CSSProperties; spin?: boolean; className?: string; onClick?: React.MouseEventHandler; component?: ComponentType; rotate?: number; provider?: string; } declare const Icon: { (props: IconProps): React.JSX.Element; addCollection(iconifyJson: IconifyJSON, provider: string): boolean; }; export { Icon };