@zarm-design/icons
v0.1.15
Published
<h1 align="center">@zarm-design/icons</h1>
Downloads
310
Readme
Zarm Design Icons for React
Install
use npm
npm i @zarm-design/icons
or use yarn
yarn add @zarm-design/icons
Usage
import React from 'react';
import { render } from 'react-dom';
import { Add, Keyboard, Search } from '@zarm-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;
}