2.2.37-pre.0 • Published 4 years ago
@jdcfe/legao-icons-react v2.2.37-pre.0
Install
yarn add @jd/legao-icons-react
Basic Usage
You can import it directly or destructure from @jd/legao-icons-react
when tree-shaking enabled.
import AddOutlined from '@jd/legao-icons-react/AddOutlined';
import { AddOutlined } from '@jd/legao-icons-react';
import ErrorFilled from '@jd/legao-icons-react/ErrorFilled';
import { AddOutlined, ErrorFilled } from '@jd/legao-icons-react';
Component Interface
interface IconProps {
className?: string;
onClick?: React.MouseEventHandler<SVGSVGElement>;
style?: React.CSSProperties;
}
Release
npm run generate
npm run compile
npm publish
2.2.37-pre.0
4 years ago
2.2.37-pre
4 years ago