Add comment
This commit is contained in:
parent
59e896ee69
commit
0b3d382285
2 changed files with 19 additions and 19 deletions
|
|
@ -6,7 +6,7 @@ repos:
|
|||
entry: just test-frontend
|
||||
language: python
|
||||
pass_filenames: false
|
||||
files: \.ts*
|
||||
files: ^ui/.*\.(ts|tsx|js|jsx)$
|
||||
- id: typecheck
|
||||
name: Typecheck Frontend
|
||||
entry: just typecheck
|
||||
|
|
|
|||
|
|
@ -206,26 +206,26 @@ export default function HomeScreen() {
|
|||
// }, [isSearchVisible, searchQuery]);
|
||||
|
||||
// Animated styles using react-native-reanimated
|
||||
const animatedSearchStyle = useAnimatedStyle(() => {
|
||||
const height = interpolate(
|
||||
searchAnimation.value,
|
||||
[0, 1],
|
||||
[0, 80],
|
||||
Extrapolate.CLAMP
|
||||
);
|
||||
// const animatedSearchStyle = useAnimatedStyle(() => {
|
||||
// const height = interpolate(
|
||||
// searchAnimation.value,
|
||||
// [0, 1],
|
||||
// [0, 80],
|
||||
// Extrapolate.CLAMP
|
||||
// );
|
||||
|
||||
const opacity = interpolate(
|
||||
searchAnimation.value,
|
||||
[0, 0.5, 1],
|
||||
[0, 0, 1],
|
||||
Extrapolate.CLAMP
|
||||
);
|
||||
// const opacity = interpolate(
|
||||
// searchAnimation.value,
|
||||
// [0, 0.5, 1],
|
||||
// [0, 0, 1],
|
||||
// Extrapolate.CLAMP
|
||||
// );
|
||||
|
||||
return {
|
||||
height,
|
||||
opacity,
|
||||
};
|
||||
});
|
||||
// return {
|
||||
// height,
|
||||
// opacity,
|
||||
// };
|
||||
// });
|
||||
|
||||
// Simple search header component - no memoization
|
||||
// const SearchHeader = () => (
|
||||
|
|
|
|||
Loading…
Reference in a new issue