Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AppLayout
import React from 'react';
import './AppLayout.scss';
import HeaderNav from '../../containers/HeaderNav/HeaderNav';
export function AppLayout(props) {
return (
<div className='app-layout'>
<HeaderNav/>
{props.children}
</div>
);
}
@import '../../styles/shared.scss';
.app-layout {
& > *:not(:first-child) {
margin-top: $header-nav-height;
}
::-webkit-scrollbar {
width: 6px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.