@masonite/svg-icons

1.12.4 • Public • Published

@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.

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

Readme

Keywords

none

Package Sidebar

Install

npm i @masonite/svg-icons

Weekly Downloads

0

Version

1.12.4

License

MIT

Unpacked Size

1.14 MB

Total Files

547

Last publish

Collaborators

  • jpuran
  • khemsley_m
  • omorejon
  • mpomeroy
  • jashleymasonite
  • willyrk1
  • lukepotter
  • rhedman