@jdcfe/icons-react
v1.1.1
Published
<h1 align="center"> Icons for React </h1>
Downloads
3
Readme
Install
yarn add @jdcfe/[email protected]
Basic 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