@masonite/svg-icons
v1.12.4
Published
```shell npm install --save @masonite/svg-icons ```
Downloads
11
Keywords
Readme
@masonite/svg-icons
Install
npm install --save @masonite/svg-iconsUsage
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.mdfor 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-iconsfrom the monorepo root, followed bylerna publish.
