import React from "react";

// Define and export our Layout component.
export const Layout = ({ content }) => (
  <div>
    <h1>My app</h1>
    <hr />
    <div>{ content }</div>
  </div>
);

// Define and export our Welcome component.
export const Welcome = ({ name }) => (
  <div>
    Hello, { name }
  </div>
);
