import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { block, isHeaderSet, isLogoSet } from "../../../../utils/index.js";
import Navigation from "../../components/Navigation/Navigation.js";
import './Layout.css';
const b = block('layout');
const Layout = ({ children, navigation }) => (_jsxs("div", { className: b(), children: [navigation &&
            (isLogoSet(navigation.logo) || isHeaderSet(navigation.header)) &&
            (navigation.renderNavigation ? (navigation.renderNavigation()) : (_jsx(Navigation, { data: navigation.header, logo: navigation.logo, className: b('navigation') }))), _jsx("main", { className: b('content'), children: children })] }));
export default Layout;
//# sourceMappingURL=Layout.js.map
