import * as React from 'react'; import { Provider } from 'react-redux'; import createStoreHelper from '../../helpers/createStore'; import Post from '../../containers/Post'; import IBoard from '../../interfaces/IBoard'; import IPostStatus from '../../interfaces/IPostStatus'; import { Store } from 'redux'; import { State } from '../../reducers/rootReducer'; import ITenantSetting from '../../interfaces/ITenantSetting'; interface Props { postId: number; boards: Array; postStatuses: Array; isLoggedIn: boolean; isPowerUser: boolean; currentUserFullName: string; currentUserEmail: string; tenantSetting: ITenantSetting; authenticityToken: string; } class PostRoot extends React.Component { store: Store; constructor(props: Props) { super(props); this.store = createStoreHelper(); } render() { const { postId, boards, postStatuses, isLoggedIn, isPowerUser, currentUserFullName, currentUserEmail, tenantSetting, authenticityToken } = this.props; return ( ); } } export default PostRoot;