94bc677ef5
* Rename search to explore in titles and links * Conditionally use Explore
20 lines
419 B
TypeScript
20 lines
419 B
TypeScript
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
|
|
/>
|
|
)
|
|
}
|