import * as React from "react" ; import NavbarComponent from "../navbar" ; import { withStyles } from "../../helpers/withStylesHelper" ; const styles = require ( "./root.scss" ) ; interface IRootComponentProps { } @ withStyles < typeof RootComponent > ( styles ) export default class RootComponent extends React . PureComponent < IRootComponentProps , { } > { public render ( ) { return ( < div > < NavbarComponent /> { this . props . children } < /div>); } }