mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 11:23:24 +00:00
42 lines
1.3 KiB
TypeScript
42 lines
1.3 KiB
TypeScript
import { Dimensions, ScrollView, View } from 'react-native';
|
|
|
|
import { globalStyles } from '../../../styles/global';
|
|
import ScreenLayout from '../../../components/layout/screenLayout';
|
|
import { TextInput } from 'react-native-gesture-handler';
|
|
import styles from './styles';
|
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
import { useFocusEffect } from 'expo-router';
|
|
import { BoldText } from '../../../components/Styled';
|
|
import Item from '../../../components/item/item';
|
|
import Searchbar from './Searchbar';
|
|
|
|
export default function SearchScreen() {
|
|
return (
|
|
<ScrollView>
|
|
<ScreenLayout
|
|
title={
|
|
<View
|
|
style={{ ...globalStyles.flexRow, ...globalStyles.itemsCenter }}
|
|
>
|
|
<BoldText style={globalStyles.sectionTitle}>Search</BoldText>
|
|
</View>
|
|
}
|
|
subtitle="Looking for something?"
|
|
>
|
|
<Searchbar />
|
|
<View style={styles.items}>
|
|
<View style={styles.itemOuter}>
|
|
<Item />
|
|
</View>
|
|
<View style={styles.itemOuter}>
|
|
<Item />
|
|
</View>
|
|
<View style={styles.itemOuter}>
|
|
<Item />
|
|
</View>
|
|
</View>
|
|
</ScreenLayout>
|
|
</ScrollView>
|
|
);
|
|
}
|