mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Implemented react-router v4 to ReactRedux template
This commit is contained in:
committed by
Steve Sanderson
parent
c791ceee49
commit
785e7d48a2
@@ -2,7 +2,7 @@ import * as React from 'react';
|
||||
import { NavMenu } from './NavMenu';
|
||||
|
||||
export interface LayoutProps {
|
||||
body: React.ReactElement<any>;
|
||||
children?: React.ReactElement<any>;
|
||||
}
|
||||
|
||||
export class Layout extends React.Component<LayoutProps, {}> {
|
||||
@@ -13,7 +13,7 @@ export class Layout extends React.Component<LayoutProps, {}> {
|
||||
<NavMenu />
|
||||
</div>
|
||||
<div className='col-sm-9'>
|
||||
{ this.props.body }
|
||||
{ this.props.children }
|
||||
</div>
|
||||
</div>
|
||||
</div>;
|
||||
|
||||
Reference in New Issue
Block a user