import React, { PropTypes } from 'react';

const App = ({ children }) => (
  <div className="page-container">
    {children}
  </div>
);

App.propTypes = {
  children: PropTypes.element.isRequired
};

export default App;

import React, { PropTypes } from 'react';

const App = (props) => (
  <div className="page-container">
    {React.cloneElement({...props}.children, {...props})}
  </div>
);

App.propTypes = {
  children: PropTypes.element.isRequired
};

export default App;

Fix warning messages regarding refs and key
Fix warning messages regarding refs and key
