akveo / akveo/nebular

NbIconLibraries RegisterFontPack cant understand (nb-icon eva)

Aberta
#1,579 2 comentários 0 reações 0 responsáveis Ver no GitHub
module:eva-icons needs docs
Linguagem predominante
TypeScript
Estrelas
8.1k
Forks
1.5k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

### 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!

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.