lbry-desktop/ui/modal/modalMobileSearch/view.jsx

19 lines
402 B
React
Raw Normal View History

2020-12-11 19:33:27 +01:00
// @flow
import React from 'react';
import { Modal } from 'modal/modal';
import WunderbarSuggestions from 'component/wunderbarSuggestions';
type Props = {
closeModal: () => void,
};
export default function ModalMobileSearch(props: Props) {
const { closeModal } = props;
return (
<Modal onAborted={closeModal} isOpen type="card">
<WunderbarSuggestions isMobile />
</Modal>
);
}