okra-icons

1.0.3 • Public • Published

Okra-Icons

This package provides the Okra-icons packaged as a set of React components.

Installation

Install the package in your project directory with:

// with npm
npm install okra-icons
 
// with yarn
yarn add okra-icons

These components uses React to render the SVG path for each icon, and so a have a peer-dependency on the release of React.

Component Usage

You can use path imports to avoid pulling in unused modules. For instance, use:

    // 🚀 Fast
    import AccountIcon from 'okra-icons/svg/AccountIcon';
    import TeamIcon from 'okra-icons/svg/TeamIcon';

instead of top level imports:

    import { AccountIcon } from 'okra-icons/svg';
    <AccountIcon
        style = {}
        fill = "red"
        width = "25.222" 
        height = "23.013" 
        className = "" 
        viewBox = "0 0 25.222 23.013"
    />

Documentation

Package Sidebar

Install

npm i okra-icons

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

206 kB

Total Files

52

Last publish

Collaborators

  • mquadrant
  • nzeakokosi7
  • belrald
  • coolashelvetica
  • oreace