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

19 lines
438 B
React
Raw Normal View History

2019-12-18 00:27:08 -05:00
// @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}>
2019-12-19 15:43:49 -05:00
<SideNavigation sticky={false} expanded />
2019-12-18 00:27:08 -05:00
</Modal>
);
}