@bamboo-design/icons
v0.0.5
Published
<h1 align="center">@bamboo/icons</h1>
Readme
[![npm latest][1]][0] [![NPM downloads][2]][0]
sea Design Icons for React
Install
use npm
npm i @bamboo/iconsor use yarn
yarn add @bamboo/iconsUsage
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;
}