parent
4c05c9a9cd
commit
51469c507e
|
@ -36,7 +36,9 @@
|
|||
{:color colors/black
|
||||
:letter-spacing -0.2
|
||||
:font-size 17
|
||||
:ios {:text-align :center}
|
||||
:ios {:text-align :center
|
||||
:margin-left 15
|
||||
:margin-right 15}
|
||||
:android {:text-align :left
|
||||
:margin-left 22}})
|
||||
|
||||
|
|
|
@ -81,10 +81,12 @@
|
|||
([title-style title]
|
||||
(content-title title-style title nil nil))
|
||||
([title-style title subtitle-style subtitle]
|
||||
(content-title title-style title subtitle-style subtitle nil))
|
||||
([title-style title subtitle-style subtitle additional-text-props]
|
||||
[react/view {:style styles/toolbar-title-container}
|
||||
[react/text {:style (merge styles/toolbar-title-text title-style)
|
||||
:font :toolbar-title}
|
||||
title]
|
||||
[react/text (merge {:style (merge styles/toolbar-title-text title-style)
|
||||
:font :toolbar-title :numberOfLines 1 :ellipsizeMode :tail}
|
||||
additional-text-props) title]
|
||||
(when subtitle
|
||||
[react/text {:style subtitle-style}
|
||||
subtitle])]))
|
||||
|
|
Loading…
Reference in New Issue