Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

22 lines (19 sloc) 613 Bytes
import React from 'react'
import { IndexLink, Link } from 'react-router'
import PropTypes from 'prop-types'
import './PageLayout.scss'
export const PageLayout = ({ children }) => (
<div className='container text-center'>
<h1>React Redux Starter Kit</h1>
<IndexLink to='/' activeClassName='page-layout__nav-item--active'>Home</IndexLink>
{' · '}
<Link to='/counter' activeClassName='page-layout__nav-item--active'>Counter</Link>
<div className='page-layout__viewport'>
{children}
</div>
</div>
)
PageLayout.propTypes = {
children: PropTypes.node,
}
export default PageLayout
You can’t perform that action at this time.