webapp/src/components/Pages/SearchPage.tsx
2022-09-22 11:37:49 +02:00

15 lines
371 B
TypeScript

import { MainLayout } from '../Layouts/MainLayout'
import { SearchView } from '../Views/Search'
import type { PageProps } from '../types'
export const SearchPage = (props: PageProps) => {
return (
<MainLayout>
<SearchView results={props.searchResults || []} query={props.searchQuery} />
</MainLayout>
)
}
// for lazy loading
export default SearchPage