fixes vector icons
This commit is contained in:
parent
191e5bcc0b
commit
f36dca3b5c
|
@ -77,6 +77,7 @@
|
||||||
([name] (icon name nil))
|
([name] (icon name nil))
|
||||||
([name {:keys [color container-style style accessibility-label]
|
([name {:keys [color container-style style accessibility-label]
|
||||||
:or {accessibility-label :icon}}]
|
:or {accessibility-label :icon}}]
|
||||||
|
^{:key name}
|
||||||
[react/view {:style container-style
|
[react/view {:style container-style
|
||||||
:accessibility-label accessibility-label}
|
:accessibility-label accessibility-label}
|
||||||
(if-let [icon-fn (get icons (normalize-property-name name))]
|
(if-let [icon-fn (get icons (normalize-property-name name))]
|
||||||
|
|
Loading…
Reference in New Issue