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