about summary refs log tree commit diff
path: root/src/screens/Search/index.tsx
blob: 429f1e5c7a98fc2e74f08bb422378263201a40eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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" />
}