npm install --save @masonite/svg-icons
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'
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 bylerna publish
.