text: import React from "react";
  import PropTypes from "prop-types";
  
  const Login = props => (
    <nav className="login">
      <h2>Inventory Login</h2>
      <p>Sign in to manage your store's inventory</p>
      <button className="github" onClick={() => props.authenticate("Github")}>
        Login in with Github
      </button>
      <button className="twitter" onClick={() => props.authenticate("Twitter")}>
        Login in with Twitter
      </button>
      <button className="facebook" onClick={() => props.authenticate("Facebook")}>
        Login in with Facebook
      </button>
    </nav>
  );
  
  Login.propTypes = {
    authenticate: PropTypes.func.isRequired
  };
  
  export default Login;
  