Skip to content

Instantly share code, notes, and snippets.

View felippewick's full-sized avatar
🏠
Working from home

felippewick

🏠
Working from home
View GitHub Profile
@felippewick
felippewick / withReanimatedUseFrameworks.js
Created November 21, 2023 19:57
expo plugin: shared element transition & @react-native-firebase
const plugins = require('expo/config-plugins')
const {
mergeContents,
} = require('@expo/config-plugins/build/utils/generateCode')
const path = require('path')
const fs = require('fs')
module.exports = function withReanimatedUseFrameworks(config) {
return plugins.withDangerousMod(config, [
@felippewick
felippewick / SplitScreen.tsx
Created November 13, 2023 21:55 — forked from smontlouis/SplitScreen.tsx
Amie in-app split screen in react-native
import { useWindowDimensions } from 'react-native'
import { Gesture } from 'react-native-gesture-handler'
import Animated, {
Extrapolation,
WithSpringConfig,
interpolate,
scrollTo,
useAnimatedRef,
useAnimatedScrollHandler,
useAnimatedStyle,