New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

binary-common-icons

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binary-common-icons

This is a package that provide binary common icons.

latest
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

Binary Common Icons

This is a package that provide binary common icons.

Installation

npm install binary-common-icons

Usage

You can import 2 types of an icons: Icon or SVG. It depends on your usage.

SVGIcon provide a svg file that will not pure component and will re render. IconIcon provide in a wrapped pure component that will not re render,

import { IconFRXAUDCAD } from 'binary-common-icons/build/Icons/Underlying/ic-FRXAUDCAD';
import { SVGFRXAUDCAD } from 'binary-common-icons/build/Icons/Underlying/ic-FRXAUDCAD';

<IconFRXAUDCAD />
<SVGFRXAUDCAD />

It is better to handle these in parent component (For example Use onClick on parent component) but also we can use it in package component.

category as {string}

className as { string }

classNamePath as { string }

classNameRect as { string }

is_disabled as { bool }

onClick as { func }

type as { string }

Also we can use classnames package:

import classNames from 'classnames';

const icon_className = classNames(
    'advanced-simple-toggle__icon',
    'select-arrow',
)
<IconFRXAUDCAD className={icon_className} />

FAQs

Package last updated on 26 May 2019

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