@nsfocus/icons
v2.1.0
Published
<h1 align="center"> Nsfocus Icons for React </h1>
Downloads
1
Readme
Install
yarn add @nsfocus/icons
Basic Usage
You can import it directly or destructure from @nsfocus/icons
when tree-shaking enabled.
import AlertOutlined from '@nsfocus/icons/AlertOutlined';
import { AlertOutlined } from '@nsfocus/icons';
// import AlertFilled from '@nsfocus/icons/AlertFilled';
// import AlertTwoTone from '@nsfocus/icons/AlertTwoTone';
import { AlertOutlined, AddEquipmentsOutlined } from '@nsfocus/icons';
Component Interface
interface AntdIconProps {
className?: string;
onClick?: React.MouseEventHandler<SVGSVGElement>;
style?: React.CSSProperties;
}
Release
npm run generate
npm run compile
npm publish