From eae3879cc5e77d2860d7ae8742c0d3e79f86d864 Mon Sep 17 00:00:00 2001
From: Shravya Ramesh <shravs1208@gmail.com>
Date: Fri, 5 Mar 2021 15:37:05 -0800
Subject: removed unused file: SearchHeader

---
 src/components/search/SearchHeader.tsx | 60 ----------------------------------
 1 file changed, 60 deletions(-)
 delete mode 100644 src/components/search/SearchHeader.tsx

(limited to 'src/components/search/SearchHeader.tsx')

diff --git a/src/components/search/SearchHeader.tsx b/src/components/search/SearchHeader.tsx
deleted file mode 100644
index 0d9f5973..00000000
--- a/src/components/search/SearchHeader.tsx
+++ /dev/null
@@ -1,60 +0,0 @@
-import React from 'react';
-import {SCREEN_HEIGHT} from '../../utils';
-import {View, StyleSheet, ViewProps} from 'react-native';
-import Animated, {
-  Value,
-  interpolateColors,
-  interpolate,
-} from 'react-native-reanimated';
-
-interface SearchHeaderProps extends ViewProps {
-  top: Value<number>;
-}
-const SearchHeader: React.FC<SearchHeaderProps> = ({top, style}) => {
-  const color: Animated.Node<number> = interpolateColors(top, {
-    inputRange: [-SCREEN_HEIGHT, 0],
-    outputColorRange: ['#fff', '#000'],
-  });
-  const searchOpacity: Animated.Node<number> = interpolate(top, {
-    inputRange: [-SCREEN_HEIGHT, 0],
-    outputRange: [0, 1],
-  });
-  const exploreOpacity: Animated.Node<number> = interpolate(top, {
-    inputRange: [-SCREEN_HEIGHT, 0],
-    outputRange: [1, 0],
-  });
-  return (
-    <View style={[styles.container, style]}>
-      {/* <View style={styles.headerContainer}>
-        <Animated.Text
-          style={[styles.header, {opacity: exploreOpacity, color}]}>
-          Explore
-        </Animated.Text>
-      </View> */}
-      {/* <View style={styles.headerContainer}>
-        <Animated.Text style={[styles.header, {opacity: searchOpacity, color}]}>
-          Search
-        </Animated.Text>
-      </View> */}
-    </View>
-  );
-};
-
-const styles = StyleSheet.create({
-  container: {
-    flexDirection: 'row',
-    justifyContent: 'center',
-    height: 30,
-  },
-  headerContainer: {
-    position: 'absolute',
-    left: '50%',
-  },
-  header: {
-    position: 'relative',
-    right: '50%%',
-    fontSize: 24,
-    fontWeight: 'bold',
-  },
-});
-export default SearchHeader;
-- 
cgit v1.2.3-70-g09d2

