@ngxi/vscode-icons 0.11.27 → 0.12.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -18,20 +18,22 @@
18
18
  ## Installation
19
19
 
20
20
  ```sh
21
- npm install @ngxi/vscode-icons
21
+ pnpm add @ngxi/vscode-icons
22
22
  ```
23
23
 
24
24
  ## Usage
25
25
 
26
26
  ```ts
27
- import { Component } from '@angular/core';
28
- import { VscodeIconsFileTypeActionscript2Icon } from '@ngxi/vscode-icons';
27
+ import { Component } from '@angular/core'
28
+ import { NgxiVscodeIcons, vscodeIconsFileTypeActionscript2 } from '@ngxi/vscode-icons'
29
29
 
30
30
  @Component({
31
- imports: [VscodeIconsFileTypeActionscript2Icon],
32
- template: `<svg vscodeIconsFileTypeActionscript2Icon></svg>`,
31
+ imports: [NgxiVscodeIcons],
32
+ template: `<svg [ngxiVscodeIcons]="vscodeIconsFileTypeActionscript2"></svg>`
33
33
  })
34
- export class UsageIcon {}
34
+ export class UsageIcon {
35
+ protected vscodeIconsFileTypeActionscript2 = vscodeIconsFileTypeActionscript2
36
+ }
35
37
  ```
36
38
 
37
39
  ## Sponsors
@@ -0,0 +1,2 @@
1
+ export * from './lib/icons';
2
+ export * from './lib/vscode-icons';