Socket
Book a DemoInstallSign in
Socket

@masonite/svg-icons

Package Overview
Dependencies
Maintainers
7
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@masonite/svg-icons

```shell npm install --save @masonite/svg-icons ```

latest
npmnpm
Version
1.12.4
Version published
Maintainers
7
Created
Source

@masonite/svg-icons

Install

npm install --save @masonite/svg-icons

Usage

If you are using a Create React App application

import { ReactComponent as MBifold } from '@masonite/svg-icons/dist/svg/bifold.svg'

or you can import the SVG as a string and implement per your use case or preference.

import { mBifold } from '@masonite/svg-icons'

Development

To develop, clone the Masonitedoors/MDL repo with git clone --recurse-submodules -j8 to get it. Make sure MIcons was cloned to vendors in its root. You cannot build without it.

If you already have the micons submodule cloned, you must use git submodule update --recursive --remote to pull the latest updates from micons before building.

  • Make sure you have done what is mentioned in development.
  • Update the CHANGELOG.md for the version you're releasing. If there is an [Unreleased] block, change that to the next version following semver.
  • Build the package npm run build-package:svg-icons from the monorepo root, followed by lerna publish.

FAQs

Package last updated on 20 Oct 2021

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