ionic-team / ionic-team/ionicons

docs: document addIcons usage

Abierto
#887 7 comentarios 3 reacciones 0 asignados Ver en GitHub
type: documentation
Lenguaje dominante
TypeScript
Estrellas
18.2k
Forks
2.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Some users have expressed an interest in using functionality provided by addIcons, so it would be good to document its usage.

Use Case: https://github.com/ionic-team/ionic-framework/issues/22181 A developer wants to dynamically show an icon based upon results from a server. They could do `(result) ? heart : heartOutline`, but they do not want to have to continually import each icon. In this case, it would be helpful for them to add the icon globally via `addIcons`.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.