Cleaned up siteWrap for docs and elsewhere. Converted the other sitewrap to function component.

This commit is contained in:
Piotr Janosz
2019-07-25 01:37:29 +02:00
committed by fabioberger
parent 9e0e12a468
commit 34dfd73aab
15 changed files with 191 additions and 289 deletions

View File

@@ -14,7 +14,7 @@ import { Hamburger } from 'ts/components/hamburger';
import { Logo } from 'ts/components/logo';
import { MobileNav } from 'ts/components/mobileNav';
import { FlexWrap } from 'ts/components/newLayout';
import { ThemeValuesInterface } from 'ts/components/siteWrap';
import { IThemeValuesInterface } from 'ts/style/theme';
import { zIndex } from 'ts/style/z_index';
@@ -24,7 +24,7 @@ interface HeaderProps {
location?: Location;
isNavToggled?: boolean;
toggleMobileNav?: () => void;
theme: ThemeValuesInterface;
theme: IThemeValuesInterface;
}
interface NavItemProps {