text: import React from 'react';
  import PropTypes from 'prop-types';
  import logo from '../../shared/images/logo.svg';
  
  const Header = ({
      title = "Welcome to React",
      url = "http://localhost:3000/"
  }) => {
  
  
      return (
          <header className="App-header">
              <a href={url}>
                  <img src={logo} className="App-logo" alt="logo" />
              </a>
              <h2>{title}</h2>
          </header>
      )
  }
  
  Header.propTypes = {
      title: PropTypes.string.isRequired,
      url: PropTypes.string
  }
  
  export default Header;