parent
d0e9eb04ea
commit
e830ecdb39
|
@ -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})
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue