diff options
Diffstat (limited to 'src/screens/Search/index.tsx')
-rw-r--r-- | src/screens/Search/index.tsx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/screens/Search/index.tsx b/src/screens/Search/index.tsx new file mode 100644 index 000000000..429f1e5c7 --- /dev/null +++ b/src/screens/Search/index.tsx @@ -0,0 +1,13 @@ +import { + type NativeStackScreenProps, + type SearchTabNavigatorParams, +} from '#/lib/routes/types' +import {SearchScreenShell} from './Shell' + +export function SearchScreen( + props: NativeStackScreenProps<SearchTabNavigatorParams, 'Search'>, +) { + const queryParam = props.route?.params?.q ?? '' + + return <SearchScreenShell queryParam={queryParam} testID="searchScreen" /> +} |