ionic-team / ionic-team/ionicons

Feature request: Add indicator slot

Ouverte
#995 9 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
community feedback wanted
Langage dominant
TypeScript
Étoiles
18.2k
Forks
2.1k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hi there.

It would be great if the ion-icon component would allow for an indicator slot so we could use ion-icon somehow like this:

```

```

This would allow us to assign markup to the inside of an ion-icon. I am currently trying to find a good solution to add icons with indicators (other icons on top of the existing one). And I can not really find a good solution without creating a custom component, which I do not want to because it breaks all my styling in items, buttons etc. that excpects an ion-icon component and not a "custom-component".

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.