UNPKG

@ant-design/icons

Version:

[![NPM version](https://img.shields.io/npm/v/@ant-design/icons.svg?style=flat)](https://npmjs.org/package/@ant-design/icons) [![NPM downloads](http://img.shields.io/npm/dm/@ant-design/icons.svg?style=flat)](https://npmjs.org/package/@ant-design/icons)

13 lines (12 loc) 531 B
import * as React from 'react'; import type { IconDefinition } from '@ant-design/icons-svg/lib/types'; import type { IconBaseProps } from './Icon'; import type { TwoToneColor } from './twoTonePrimaryColor'; export interface AntdIconProps extends IconBaseProps { twoToneColor?: TwoToneColor; } export interface IconComponentProps extends AntdIconProps { icon: IconDefinition; } declare const Icon: React.ForwardRefExoticComponent<Omit<IconComponentProps, "ref"> & React.RefAttributes<HTMLSpanElement>>; export default Icon;