content: import React from 'react'
  import { t, props } from 'tcomb-react'
  import Header from '../components/Header'
  
  @props({
    app: t.Object,
    children: t.Any
  })
  export default class AuthenticatedLayout extends React.Component {
  
    onSignOut = () => {
      this.props.app.signOut()
    }
  
    render() {
      const app = this.props.app
      const user = app.getUser()
      return (
        <div>
          <Header user={user} isBusy={app.isBusy()} onSignOut={this.onSignOut} />
          {this.props.children}
        </div>
      )
    }
  
  }