1.1.1 • Published 6 years ago
@jdcfe/icons-react v1.1.1
Install
yarn add @jdcfe/icons-react@1.0.0Basic Usage
You can import it directly or destructure from @jdcfe/icons-react when tree-shaking enabled.
import CalenderOutlined from '@jdcfe/icons-react/CalenderOutlined';
import { CalenderOutlined } from '@jdcfe/icons-react';
import CalenderOutlined from '@jdcfe/icons-react/CalenderOutlined';
import CircleTwoTone from '@jdcfe/icons-react/CircleTwoTone';
import { CalenderOutlined, CircleTwoTone } from '@jdcfe/icons-react';Component Interface
interface IconProps {
className?: string;
onClick?: React.MouseEventHandler<SVGSVGElement>;
style?: React.CSSProperties;
}Release
npm run generate
npm run compile
npm publish