aboutsummaryrefslogtreecommitdiff
path: root/src/components/search/SearchResultsBackground.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-02 19:01:22 -0400
committerIvan Chen <ivan@tagg.id>2021-04-02 19:01:22 -0400
commit7b061c35948609a1f7f3ef3cef8b5e5be964d4c2 (patch)
tree9b767436ec88912b02ee38d3d99d2e7c7c2287a0 /src/components/search/SearchResultsBackground.tsx
parent69613af86a9364f72dc2ce5f24722a3eb4b94ed2 (diff)
commented out all the old reanimated stuff, added TODOs for leon
Diffstat (limited to 'src/components/search/SearchResultsBackground.tsx')
-rw-r--r--src/components/search/SearchResultsBackground.tsx20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/components/search/SearchResultsBackground.tsx b/src/components/search/SearchResultsBackground.tsx
index 2833553d..3d7fab4e 100644
--- a/src/components/search/SearchResultsBackground.tsx
+++ b/src/components/search/SearchResultsBackground.tsx
@@ -10,14 +10,18 @@ const SearchResultsBackground: React.FC<SearchResultsBackgroundProps> = ({
top,
children,
}) => {
- const opacityBackground: Animated.Node<number> = interpolate(top, {
- inputRange: [-SCREEN_HEIGHT, 0],
- outputRange: [0, 1],
- });
- const opacityContent: Animated.Node<number> = interpolate(top, {
- inputRange: [-SCREEN_HEIGHT / 40, 0],
- outputRange: [0, 1],
- });
+ // TODO: (Leon) use reanimated v2
+ const opacityBackground = 0;
+ // const opacityBackground: Animated.Node<number> = interpolate(top, {
+ // inputRange: [-SCREEN_HEIGHT, 0],
+ // outputRange: [0, 1],
+ // });
+ // TODO: (Leon) use reanimated v2
+ const opacityContent = 0;
+ // const opacityContent: Animated.Node<number> = interpolate(top, {
+ // inputRange: [-SCREEN_HEIGHT / 40, 0],
+ // outputRange: [0, 1],
+ // });
return (
<Animated.View
style={[styles.container, {opacity: opacityBackground, top}]}>