@cognizone/material-icons
TypeScript icon, indicating that this package has built-in type declarations

3.13.0 • Public • Published

material-icons

This library was generated with Nx.

Running unit tests

Run nx test material-icons to execute the unit tests.

Installation

First, you have to change the assets part of your angular.json file with the "glob" part here:

"assets": [
  "src/favicon.ico",
  "src/assets",
  {
    "glob": "**/*",
    "input": "node_modules/@material-icons/svg/svg",
    "output": "./assets/material-icons/"
  }
],

You'll also have to install the svg lib as well npm i @material-icons/svg. Then you just need to add the module to your app/core module

@NgModule({
  imports: [CognizoneMaterialIconsModule.forRoot({})]
})
export class CoreModule {}

Usage

With this, icons have to use follow the svg method, so this type of usage

<mat-icon>print</mat-icon>

should be replaced with

<mat-icon svgIcon="print"></mat-icon>

Readme

Keywords

none

Package Sidebar

Install

npm i @cognizone/material-icons

Weekly Downloads

83

Version

3.13.0

License

Apache-2.0

Unpacked Size

45.9 kB

Total Files

17

Last publish

Collaborators

  • domi.vds
  • cognizone_admin
  • williamchelmancz