Add Fadable component

This commit is contained in:
Tom Raithel
2017-02-25 23:34:25 +01:00
parent 5e57c9caae
commit 5f20c00bec
9 changed files with 163 additions and 46 deletions

View File

@@ -1,4 +1,5 @@
import React from 'react';
import classNames from 'classnames';
import { connect } from 'react-redux';
import actions from '../actions';
@@ -13,7 +14,7 @@ function App(props) {
<div className="page__header">
<Header {...props} />
</div>
<div className="page__content">
<div className={classNames('page__content', { 'is-faded': props.isFaded })}>
<Router {...props} />
</div>
<div className="page__footer">