mozilla/webmaker-core

Add icon component

Offen

#42 geöffnet am 14.07.2015

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (31 Forks)auto 404
enhancementhelp wanted

Repository-Metriken

Stars
 (63 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

This issue has been migrated from mozilla/webmaker-android#1584.

It was originally written by k88hudson on Tue Apr 28 2015 and had the following description:

We need this to support multiple colours, maintain consistent size etc.

On Thu Apr 30 2015, k88hudson commented:

I would love to have an icon font, but a component will do for now.

On Fri May 01 2015, Pomax commented:

Why not both? We can make an <Icon> component that serves up "whatever works" while we work on it, so we can use a JSX syntax like <Icon type="eyeball" /> and have that either generate an svg image or, once we find a nice one, text span with an icon font.

Contributor Guide