@ngxi/eva 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/eva
21
+ pnpm add @ngxi/eva
22
22
  ```
23
23
 
24
24
  ## Usage
25
25
 
26
26
  ```ts
27
- import { Component } from '@angular/core';
28
- import { EvaDropletOffOutlineIcon } from '@ngxi/eva';
27
+ import { Component } from '@angular/core'
28
+ import { NgxiEva, evaDropletOffOutline } from '@ngxi/eva'
29
29
 
30
30
  @Component({
31
- imports: [EvaDropletOffOutlineIcon],
32
- template: `<svg evaDropletOffOutlineIcon></svg>`,
31
+ imports: [NgxiEva],
32
+ template: `<svg [ngxiEva]="evaDropletOffOutline"></svg>`
33
33
  })
34
- export class UsageIcon {}
34
+ export class UsageIcon {
35
+ protected evaDropletOffOutline = evaDropletOffOutline
36
+ }
35
37
  ```
36
38
 
37
39
  ## Sponsors
@@ -0,0 +1,2 @@
1
+ export * from './lib/icons';
2
+ export * from './lib/eva';