2.2.37-pre.0 • Published 4 years ago

@jdcfe/legao-icons-react v2.2.37-pre.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

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