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

19 lines
438 B
React
Raw Normal View History

2019-12-18 06:27:08 +01: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 21:43:49 +01:00
<SideNavigation sticky={false} expanded />
2019-12-18 06:27:08 +01:00
</Modal>
);
}