lbry-desktop/ui/modal/modalMobileNavigation/view.jsx
Sean Yesmunt d181cd9e3f cleanup
2019-12-20 15:03:18 -05:00

18 lines
438 B
JavaScript

// @flow
import React from 'react';
import { Modal } from 'modal/modal';
import SideNavigation from 'component/sideNavigation';
type Props = {
doHideModal: () => void,
};
export default function ModalMobileNavigation(props: Props) {
const { doHideModal } = props;
return (
<Modal type="card" isOpen contentLabel={__('Navigation')} onAborted={doHideModal}>
<SideNavigation sticky={false} expanded />
</Modal>
);
}