import { Component } from 'react'; import { inject, observer } from 'mobx-react'; import Welcome from '../../components/auth/Welcome'; import UserStore from '../../stores/UserStore'; import RecipePreviewsStore from '../../stores/RecipePreviewsStore'; interface IProps { stores: { user: UserStore, recipePreviews: RecipePreviewsStore, }, }; class WelcomeScreen extends Component { render() { const { user, recipePreviews } = this.props.stores; return ( ); } } export default inject('stores', 'actions')(observer(WelcomeScreen));