From 79834676cbb51941b9876fe799452036cf12853f Mon Sep 17 00:00:00 2001 From: Clemens Date: Mon, 20 Jun 2016 10:20:41 +0200 Subject: [PATCH] added accept and revert to flowmenu --- web/src/js/components/Header/FlowMenu.jsx | 10 ++++++---- web/src/js/components/common/Button.jsx | 6 ++++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/web/src/js/components/Header/FlowMenu.jsx b/web/src/js/components/Header/FlowMenu.jsx index 96f426524..abecf0dc0 100644 --- a/web/src/js/components/Header/FlowMenu.jsx +++ b/web/src/js/components/Header/FlowMenu.jsx @@ -15,10 +15,12 @@ function FlowMenu({ flow }) { return (
-
diff --git a/web/src/js/components/common/Button.jsx b/web/src/js/components/common/Button.jsx index cc2fe9dd8..574288df9 100644 --- a/web/src/js/components/common/Button.jsx +++ b/web/src/js/components/common/Button.jsx @@ -5,9 +5,11 @@ Button.propTypes = { text: PropTypes.string.isRequired } -export default function Button({ onClick, text, icon }) { +export default function Button({ onClick, text, icon, disabled }) { return ( -
+
  {text}