mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 07:03:25 +00:00
34 lines
975 B
TypeScript
34 lines
975 B
TypeScript
import { ScrollView, Text, View } from 'react-native';
|
|
|
|
import Searchbar from './Searchbar';
|
|
import ScreenLayout from '../../components/layout/ScreenLayout';
|
|
import Item from '../../components/item/item';
|
|
|
|
export default function SearchScreen() {
|
|
return (
|
|
<ScrollView>
|
|
<ScreenLayout
|
|
title={
|
|
<View className="flex-row items-center">
|
|
<Text className="text-2xl font-bold text-white">Search</Text>
|
|
</View>
|
|
}
|
|
subtitle="Looking for something?"
|
|
>
|
|
<Searchbar />
|
|
<View className="flex w-full flex-1 flex-row flex-wrap justify-start">
|
|
<View className="basis-1/2 px-3 pb-3">
|
|
<Item />
|
|
</View>
|
|
<View className="basis-1/2 px-3 pb-3">
|
|
<Item />
|
|
</View>
|
|
<View className="basis-1/2 px-3 pb-3">
|
|
<Item />
|
|
</View>
|
|
</View>
|
|
</ScreenLayout>
|
|
</ScrollView>
|
|
);
|
|
}
|