fix #184
This commit is contained in:
parent
a52aa9af22
commit
7063237831
|
@ -67,11 +67,13 @@
|
||||||
:or {font :default}} t]
|
:or {font :default}} t]
|
||||||
(r/as-element
|
(r/as-element
|
||||||
[text-class
|
[text-class
|
||||||
(if (and platform-specific font)
|
(cond
|
||||||
|
(and platform-specific font)
|
||||||
(-> opts
|
(-> opts
|
||||||
(dissoc :platform-specific :font)
|
(dissoc :platform-specific :font)
|
||||||
(assoc :style (st/with-font style platform-specific font)))
|
(assoc :style (st/with-font style platform-specific font)))
|
||||||
opts)
|
style opts
|
||||||
|
:else {:style opts})
|
||||||
t])))
|
t])))
|
||||||
|
|
||||||
(defn text-input [props text]
|
(defn text-input [props text]
|
||||||
|
|
Loading…
Reference in New Issue