0.1.1 • Published 3 years ago

@zson-design/icons v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

npm latest NPM downloads

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;
}