From a65cb9f2944b7fe0844e5565713df5e298811df6 Mon Sep 17 00:00:00 2001 From: Jitu007-Bunde Date: Thu, 21 May 2020 14:38:09 +0530 Subject: [PATCH] change position of LoginPanel Component --- .../login/LoginPanel.js | 18 ++++++++++++++---- .../login/LoginPanel.test.js | 0 2 files changed, 14 insertions(+), 4 deletions(-) rename react-frontend/src/featurewise-directories/{presentational-component => }/login/LoginPanel.js (73%) rename react-frontend/src/featurewise-directories/{presentational-component => }/login/LoginPanel.test.js (100%) diff --git a/react-frontend/src/featurewise-directories/presentational-component/login/LoginPanel.js b/react-frontend/src/featurewise-directories/login/LoginPanel.js similarity index 73% rename from react-frontend/src/featurewise-directories/presentational-component/login/LoginPanel.js rename to react-frontend/src/featurewise-directories/login/LoginPanel.js index b6a6081d3..bc86b7f75 100644 --- a/react-frontend/src/featurewise-directories/presentational-component/login/LoginPanel.js +++ b/react-frontend/src/featurewise-directories/login/LoginPanel.js @@ -23,7 +23,11 @@ const SignInButtonComponent = Styled(ButtonComponent)` border-radius: 25px; `; -const LoginPanel = ({ buttonText }) => ( +const LoginPanel = ({ + buttonText, + orgPrimaryCoreValue, + encouragementThought, +}) => (
@@ -33,23 +37,29 @@ const LoginPanel = ({ buttonText }) => (
} + icon={} text={buttonText} />
- +
); LoginPanel.propTypes = { buttonText: PropTypes.string, + orgPrimaryCoreValue: PropTypes.string, + encouragementThought: PropTypes.string, }; LoginPanel.defaultProps = { - buttonText: "Sign in with Google", + buttonText: " Sign in with Google", }; export default LoginPanel; diff --git a/react-frontend/src/featurewise-directories/presentational-component/login/LoginPanel.test.js b/react-frontend/src/featurewise-directories/login/LoginPanel.test.js similarity index 100% rename from react-frontend/src/featurewise-directories/presentational-component/login/LoginPanel.test.js rename to react-frontend/src/featurewise-directories/login/LoginPanel.test.js