This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Inspiration: https://dribbble.com/shots/4167815-Switcher-XXXIV | |
// Feel free to reuse in your projects | |
import React, { memo, useMemo, useCallback } from 'react'; | |
import { Pressable, StyleSheet, View } from 'react-native'; | |
import { MotiView } from 'moti'; | |
import Animated, { | |
Easing, | |
useSharedValue, | |
useAnimatedStyle, |