@zson-design/icons
v0.1.1
Published
<h1 align="center">@zson-design/icons</h1>
Downloads
1
Readme
zson Design Icons for React
Install
use npm
npm i @zson-design/icons
or use yarn
yarn add @zson-design/icons
Usage
import React from 'react';
import { render } from 'react-dom';
import { Add, Keyboard, Search } from '@zson-design/icons';
const App = () => {
return (
<>
<Add />
<Keyboard />
<Search />
</>
);
};
render(<App />, document.getElementById('root'));
You can find all the icon components based on React here.
Component Interface
interface IconProps {
className?: string;
onClick?: React.MouseEventHandler<SVGSVGElement>;
style?: React.CSSProperties;
}