web-apps/apps/common/mobile/lib/controller/Search.jsx

13 lines
338 B
React
Raw Normal View History

2021-01-22 21:20:31 +00:00
import React from 'react';
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);
};
return <SearchView onSearchQuery={onSearchQuery} />
2021-01-22 21:20:31 +00:00
};
2021-01-28 16:23:28 +00:00
export {SearchController, SearchView, SearchSettingsView};