I would like to use React Native Bottom Sheet in my new expo app (expo init
).
I've followed the instructions here. Check out the GitHub Repo here.
Here is what i did.
expo init
(blank typescript project)yarn add @gorhom/bottom-sheet@^4
yarn add react-native-reanimated react-native-gesture-handler
Replacing the content of the
App.tsx
with snippet from the docs.Added
react-native-reanimated/plugin
to babel.module.exports = function (api) { api.cache(true); return { presets: ["babel-preset-expo"], plugins: ["react-native-reanimated/plugin"], }; };
Started expo using
expo start --clear