File tree Expand file tree Collapse file tree 4 files changed +5
-160
lines changed Expand file tree Collapse file tree 4 files changed +5
-160
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
(ns quo.components.button.view
2
- (:require [quo.components.animated.pressable :as animation]
3
- [quo.components.text :as text] ; ; FIXME:
2
+ (:require [quo.components.text :as text] ; ; FIXME:
4
3
[quo.design-system.colors :as colors]
5
4
[quo.design-system.spacing :as spacing]
6
5
[quo.haptic :as haptic]
75
74
optional-haptic (fn []
76
75
(when haptic-feedback
77
76
(haptic/trigger haptic-type)))]
78
- [animation /pressable
77
+ [rn /pressable
79
78
(merge {:bg-color background-color
80
79
:border-radius border-radius
81
80
:type type
Original file line number Diff line number Diff line change 1
1
(ns quo.components.list.item
2
- (:require [quo.components.animated.pressable :as animated]
3
- [quo.components.controls.view :as controls]
2
+ (:require [quo.components.controls.view :as controls]
4
3
[quo.components.text :as text]
5
4
[quo.components.tooltip :as tooltip]
6
5
[quo.design-system.colors :as colors]
241
240
(and (not on-press)
242
241
(not on-long-press))
243
242
rn/view
244
- animated animated/pressable
245
243
:else rn/touchable-highlight)]
246
244
[rn/view
247
245
{:background-color (cond (not= background-color nil )
Original file line number Diff line number Diff line change 126
126
127
127
(def activity-indicator (reagent/adapt-react-class (.-ActivityIndicator ^js rn)))
128
128
129
+ (def pressable (reagent/adapt-react-class (.-Pressable ^js rn)))
130
+
129
131
; ; Flat-list
130
132
(def ^:private rn-flat-list (reagent/adapt-react-class (.-FlatList ^js rn)))
131
133
You can’t perform that action at this time.
0 commit comments