0.1.16 • Published 2 months ago
@zarm-design/icons
Licence
MIT
Version
0.1.16
Deps
3
Size
323 kB
Vulns
0
Weekly
0
@zarm-design/icons
Install
use npm
npm i @zarm-design/icons
or use pnpm
pnpm 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;
}