Skip to content

Instantly share code, notes, and snippets.

@gilsonviana
gilsonviana / react-native-reanimate-more.tsx
Last active May 31, 2021 18:12
React Native + Reanimated + PanGestureHandler + TapGestureHandler
import React, { useState } from 'react';
import { StyleSheet, View, Dimensions } from 'react-native';
import Animated, {
useSharedValue,
useAnimatedGestureHandler,
withSpring,
useAnimatedStyle,
withTiming,
useDerivedValue,
runOnJS
@gilsonviana
gilsonviana / colors.ts
Created May 3, 2021 00:22
React Native Custom Themes
export const colorTokens = {
black: '#000',
dark: '#383838',
dark50: '#707070',
muted: '#cdcdcd',
light: '#e6e6e6',
offWhite: '#f5f5f5',
white: '#ffffff',
accent1: '#f72585',
accent1_50: '#fb91c2',