mirror of
https://github.com/status-im/status-react.git
synced 2025-01-27 11:16:03 +00:00
parent
2084e65599
commit
c6d3765a42
@ -67,11 +67,13 @@
|
||||
:or {font :default}} t]
|
||||
(r/as-element
|
||||
[text-class
|
||||
(if (and platform-specific font)
|
||||
(cond
|
||||
(and platform-specific font)
|
||||
(-> opts
|
||||
(dissoc :platform-specific :font)
|
||||
(assoc :style (st/with-font style platform-specific font)))
|
||||
opts)
|
||||
style opts
|
||||
:else {:style opts})
|
||||
t])))
|
||||
|
||||
(defn text-input [props text]
|
||||
|
Loading…
x
Reference in New Issue
Block a user