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

@strongdm/glyphicon

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

@strongdm/glyphicon

A drop-in replacement for the react-bootstrap Glyphicon component that works with React 16+

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

glyphicon

A drop-in replacement for the react-bootstrap Glyphicon component that works with React 16+.

Why?

Bootstrap 4 removes the Glyphicon component. It was really useful. You wouldn't think that would be a problem. You can just stick with Bootstrap 3, but if you are using react-bootstrap that means you also have to stick with React 15, which is a bit out of date to say the least.

Usage

Install the module.

npm install --save @strongdm/glyphicon

Import it. Done.

import Glyphicon from '@strongdm/glyphicon'

export default function ComponentWithAnIcon () {
    return <div>
        Look at this icon! <Glyphicon glyph='exclamation-sign' />
    </div>
}

This component uses the react-bootstrap 0.3+ conventions of bsStyle and bsSize. We will be updating it to comply with react-bootstrap 1.0.0 shortly.

Thanks to:

  • React Bootstrap contributors for creating an excellent React UI toolkit.
  • DarkSeal for porting the glyphicons CSS to Boostrap 4.

Keywords

glyphicon

FAQs

Package last updated on 16 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