@bamboo/icons
[![npm latest][1]][0] [![NPM downloads][2]][0]
sea Design Icons for React
Install
use npm
npm i @bamboo/icons
or use yarn
yarn add @bamboo/icons
Usage
import React from 'react';
import { render } from 'react-dom';
import { Add, Keyboard, Search } from '@bamboo/icons';
const App = () => {
return (
<>
<Add />
<Keyboard />
<Search />
</>
);
};
render(<App />, document.getElementById('root'));
Component Interface
interface IconProps {
className?: string;
onClick?: React.MouseEventHandler<SVGSVGElement>;
style?: React.CSSProperties;
}