New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

okra-icons

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

okra-icons

Okra Icon for Okra UI

1.0.3
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

  • The documentation
  • [The icons search]

Keywords

okra dash

FAQs

Package last updated on 23 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts