web-apps/apps/common/mobile/lib/controller/Search.jsx
2021-03-09 22:42:29 +03:00

15 lines
403 B
JavaScript

import React from 'react';
import SearchView, {SearchSettingsView} from '../view/Search';
import { useTranslation, withTranslation } from 'react-i18next';
const SearchController = props => {
const onSearchQuery = params => {
console.log('on search: ' + params);
};
return <SearchView onSearchQuery={onSearchQuery} />
};
export {SearchController, SearchView, SearchSettingsView};