mirror of
https://github.com/status-im/status-react.git
synced 2025-02-23 08:08:33 +00:00
6 lines
182 B
Clojure
6 lines
182 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))
|