NbIconLibraries RegisterFontPack cant understand (nb-icon eva)
Đang mở
module:eva-icons
needs docs
- Ngôn ngữ chính
- TypeScript
- Star
- 8.1k
- Fork
- 1.5k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### Issue type
**I'm submitting a ...**
* [ ] bug report
* [ X ] feature request
### Issue description
**Current behavior:**
I'm trying migrate from v3.* to v4 and cant understand how create a pack of icons for eva-icon (nb-icon component).
I have two style files with font-icons, how can registerFontPack with a font-family name and listo of icon's name?
**Expected behavior:**
Create a FontPack type:font
**Steps to reproduce:**
i'm using this function:
```
let ecommerce_icons = [
{"025-cashbox": "\f100"}
]
this.iconLibraries.registerFontPack('ecommerce', { font: 'Ecommerce', icons: ecommerce_icons , iconClassPrefix: 'ecommerce' });
```
Thanks!
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.