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

14 lines
355 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 10:27:18 +00:00
const _onSearchQuery = params => {
console.log('on search: ' + params);
};
return <SearchView onSearchQuery={_onSearchQuery} />
2021-01-22 21:20:31 +00:00
};
export {SearchController as Search, SearchSettingsView as SearchSettings};