commands suggestions header icon

This commit is contained in:
Roman Volosovskyi 2016-06-30 14:06:00 +03:00
parent b7426f7eba
commit ac80ae632f
3 changed files with 8 additions and 2 deletions

View File

@ -114,3 +114,9 @@
{:font-size 12
:margin-top 2
:color color-gray})
(def header-icon
{:background-color :#838c93
:width 14
:border-radius 1
:height 3})

View File

@ -51,7 +51,7 @@
:loop? loop?}]
(r/create-class
{:component-did-mount
#(request-button-animation-logic context)
(when-not @answered? #(request-button-animation-logic context))
:component-will-unmount
#(reset! loop? false)
:reagent-render

View File

@ -94,7 +94,7 @@
[view
(merge (drag/pan-handlers pan-responder)
{:style ddst/drag-down-touchable})
[icon :drag_down ddst/drag-down-icon]])))
[view st/header-icon]])))
(defn container-animation-logic [{:keys [to-value val]}]
(when-let [to-value @to-value]