@ant-design/icons

<h1 align="center"> Ant Design Icons for React </h1>

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@ant-design/icons
Minified + gzip package size for @ant-design/icons in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.