akveo / akveo/nebular

NbIconLibraries RegisterFontPack cant understand (nb-icon eva)

Đang mở
#1,579 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.