From 4ea044ae6b2e27e48d45bc3be1c366f4882bbda5 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Sat, 24 Nov 2018 20:15:39 +0100 Subject: feat(App): Lay groundwork for general themeing support --- src/containers/layout/AppLayoutContainer.js | 43 +++++++++++++++-------------- 1 file changed, 23 insertions(+), 20 deletions(-) (limited to 'src/containers/layout/AppLayoutContainer.js') diff --git a/src/containers/layout/AppLayoutContainer.js b/src/containers/layout/AppLayoutContainer.js index affc1a0a2..c5c9c6850 100644 --- a/src/containers/layout/AppLayoutContainer.js +++ b/src/containers/layout/AppLayoutContainer.js @@ -1,6 +1,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { inject, observer } from 'mobx-react'; +import { ThemeProvider } from 'react-jss'; import AppStore from '../../stores/AppStore'; import RecipesStore from '../../stores/RecipesStore'; @@ -109,26 +110,28 @@ export default @inject('stores', 'actions') @observer class AppLayoutContainer e ); return ( - - {React.Children.count(children) > 0 ? children : null} - + + + {React.Children.count(children) > 0 ? children : null} + + ); } } -- cgit v1.2.3-70-g09d2