about summary refs log tree commit diff
path: root/src/screens/Search/index.tsx
blob: ba04ebb206ea802a42b168ac3bc355947c07187a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"
      isExplore
    />
  )
}