1.0.1 • Published 1 year ago

oko-icons v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

oko Icons

React projects easily with oko-icons, which utilizes ES6 imports that allows you to include only the icons that your project is using.

Installation (for standard modern project)

yarn add oko-icons
# or
npm install oko-icons --save

example usage

import { FacebookIcon } from "oko-icons";

function Component() {
  return (
      <FacebookIcon />
  );
}
KeyDefaultNotes
color#029F88 (inherit)
size24px
classNameundefined
styleundefinedCan overwrite size and color
attrundefinedOverwritten by other attributes
titleundefinedIcon description for accessibility

Development

Add svg files on the assets name as name of icon-icon.svg then run the following commands

yarn build