This file contains 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
async function (user, context, callback) { | |
user.app_metadata = user.app_metadata || {}; | |
if (user.app_metadata.signedup) { | |
return callback(null, user, context); | |
} | |
const fetch = require('[email protected]'); | |
var baseURL = configuration.BACKEND_URL; | |
var tokenSecret = configuration.BACKEND_SECRET; | |
var body; |
This file contains 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
import React, { useState, useRef, useContext, useCallback } from 'react'; | |
import { Dimensions, View, Animated } from 'react-native'; | |
import { TabView } from 'react-native-tab-view'; | |
import { TabScreen } from './Tab'; | |
import { CustomTabBar } from './TabBar'; | |
import { ThemeContext } from 'react-native-elements'; | |
import { useHeaderHeight } from '@react-navigation/stack'; | |
const AnimatedHeader = ({ style, content }) => { | |
return <Animated.View style={style}>{content}</Animated.View>; | |
}; |