Skip to content

Instantly share code, notes, and snippets.

Avatar

Austin Jones jonesaustindev

View GitHub Profile
View App.jsx
import React, { useState, useEffect } from 'react';
import { View, Text } from 'react-native';
import { ApolloProvider } from '@apollo/client';
import NetInfo from '@react-native-community/netinfo';
import QueueLink from 'apollo-link-queue';
import AsyncStorage from '@react-native-community/async-storage';
import { getApolloClient } from '../apollo/apolloClient';
import NoteView from './NoteView';
@jonesaustindev
jonesaustindev / AnimatedButton.tsx
Created Sep 9, 2020
Animated button that scales up on press
View AnimatedButton.tsx
import React from 'react';
import { Text, StyleSheet } from 'react-native';
import Animated, {
Value,
cond,
eq,
interpolate,
Extrapolate,
} from 'react-native-reanimated';
import { State, TapGestureHandler } from 'react-native-gesture-handler';