@imile/icons
v0.0.2
Published
<h1 align="center"> Ant Design Icons for React </h1>
Downloads
2
Readme
Install
yarn add @imile/[email protected]
Basic Usage
You can import it directly or destructure from @imile/icons
when tree-shaking enabled.
import SmileOutlined from '@imile/icons/SmileOutlined';
import { SmileOutlined } from '@imile/icons';
import SmileFilled from '@imile/icons/SmileFilled';
import SmileTwoTone from '@imile/icons/SmileTwoTone';
import { SmileFilled, SmileTwoTone } from '@imile/icons';
Component Interface
interface AntdIconProps {
className?: string;
onClick?: React.MouseEventHandler<SVGSVGElement>;
style?: React.CSSProperties;
}
Release
npm run generate
npm run compile
npm publish