From d7512ace72448242b392299cf459c9c72c8dbee5 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Fri, 11 Aug 2017 14:48:42 +0300 Subject: Get Google authentication flow working --- src/components/navigation/LogoutButton.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/components/navigation/LogoutButton.js (limited to 'src/components/navigation/LogoutButton.js') diff --git a/src/components/navigation/LogoutButton.js b/src/components/navigation/LogoutButton.js new file mode 100644 index 00000000..e2da7751 --- /dev/null +++ b/src/components/navigation/LogoutButton.js @@ -0,0 +1,16 @@ +import PropTypes from "prop-types"; +import React from "react"; +import {Link} from "react-router-dom"; +import "./LogoutButton.css"; + +const LogoutButton = ({onLogout}) => ( + + + +); + +LogoutButton.propTypes = { + onLogout: PropTypes.func.isRequired, +}; + +export default LogoutButton; -- cgit v1.2.3