import React from 'react';


export default function LogoutButton(props) {
  return (
    <div className="sign-out-wrapper">
      <span>{props.email}</span>
      <span className="button" onClick={props.signOut}>Sign Out</span>
    </div>
  );
}

LogoutButton.propTypes = {
  email: React.PropTypes.string.isRequired,
  signOut: React.PropTypes.string.isRequired,
};

import React from 'react';


export default function LogoutButton(props) {
  return (
    <div className="sign-out-wrapper">
      <span>{props.email}</span>
      <span className="button" onClick={props.signOut}>Sign Out</span>
    </div>
  );
}

LogoutButton.propTypes = {
  email: React.PropTypes.string.isRequired,
  signOut: React.PropTypes.func.isRequired,
};

Fix logout button prop type warning
Fix logout button prop type warning
