// @flow import type { Node } from 'react'; import React, { Fragment } from 'react'; import classnames from 'classnames'; import SideNavigation from 'component/sideNavigation'; import Header from 'component/header'; import Footer from 'web/component/footer'; export const MAIN_CLASS = 'main'; type Props = { children: Node | Array, className: ?string, autoUpdateDownloaded: boolean, isUpgradeAvailable: boolean, authPage: boolean, noHeader: boolean, noFooter: boolean, noSideNavigation: boolean, }; function Page(props: Props) { const { children, className, authPage = false, noHeader = false, noFooter = false, noSideNavigation = false } = props; return ( {!noHeader &&
}
{children}
{!authPage && !noSideNavigation && }
{/* @if TARGET='web' */} {!noFooter &&