Files
status-react/src/react_native/shake.cljs
T
2022-12-20 22:45:37 +08:00

7 lines
184 B
Clojure

(ns react-native.shake
(:require ["react-native-shake" :as react-native-shake]))
(defn add-shake-listener
[handler]
(.addEventListener react-native-shake "ShakeEvent" handler))