@ant-design/icons
TypeScript icon, indicating that this package has built-in type declarations

5.3.0 • Public • Published

Ant Design Icons for React

NPM version NPM downloads

Install

yarn add @ant-design/icons@4.0.0

Basic Usage

You can import it directly or destructure from @ant-design/icons when tree-shaking enabled.

import SmileOutlined from '@ant-design/icons/SmileOutlined';
import { SmileOutlined } from '@ant-design/icons';

import SmileFilled from '@ant-design/icons/SmileFilled';
import SmileTwoTone from '@ant-design/icons/SmileTwoTone';
import { SmileFilled, SmileTwoTone } from '@ant-design/icons';

Component Interface

interface AntdIconProps {
  className?: string;
  onClick?: React.MouseEventHandler<SVGSVGElement>;
  style?: React.CSSProperties;
}

Release

npm run generate
npm run compile
npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i @ant-design/icons

Weekly Downloads

1,419,740

Version

5.3.0

License

MIT

Unpacked Size

13.1 MB

Total Files

4217

Last publish

Collaborators

  • madccc
  • afc163
  • vthinkxie
  • zombiej
  • chenshuai2144
  • vagusx
  • yutingzhao1991
  • arvinxx
  • rdmclin2