2021-01-22 21:20:31 +00:00
|
|
|
import React from 'react';
|
2021-03-12 17:54:11 +00:00
|
|
|
import {SearchView, SearchSettingsView} from '../view/Search';
|
2021-01-28 10:27:18 +00:00
|
|
|
|
2021-01-22 21:20:31 +00:00
|
|
|
const SearchController = props => {
|
2021-01-28 16:23:28 +00:00
|
|
|
const onSearchQuery = params => {
|
2021-01-28 10:27:18 +00:00
|
|
|
console.log('on search: ' + params);
|
|
|
|
};
|
|
|
|
|
2021-03-12 17:54:11 +00:00
|
|
|
return <SearchView onSearchQuery={onSearchQuery} />
|
2021-01-22 21:20:31 +00:00
|
|
|
};
|
|
|
|
|
2021-01-28 16:23:28 +00:00
|
|
|
export {SearchController, SearchView, SearchSettingsView};
|