Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACQ-1007: customize consent lite component for in article sign-in feature #99

Merged
merged 2 commits into from
Jun 22, 2021

Conversation

ekocian
Copy link
Contributor

@ekocian ekocian commented Jun 18, 2021

Add the possibility to customize terms and conditions message and hide the footer for consent lite component.

This is aim to cover some requirements needed for this ticket https://financialtimes.atlassian.net/browse/ACQ-972

…nd hide the footer for consent lite component
@maguero maguero requested a review from a team June 21, 2021 08:44
@@ -87,6 +103,7 @@ const ConsentLite = ({
isSubsection,
formOfWords,
showSubmitButton,
hideFooter,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: I'm not sure what is best, I think we usually favour the showSomething flag rather than hide, it seems more intuitive...
But there is nothing wrong with this.
Also more consistent with showSubmitButton?

Suggested change
hideFooter,
showFooter = true,

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree, changed! 2b28e6f

@ekocian ekocian requested a review from ludrob June 22, 2021 13:22
@ekocian ekocian merged commit 3fafb6f into main Jun 22, 2021
@ekocian ekocian deleted the acq-1007-update-consent-lite-for-in-article-sign-up branch June 22, 2021 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants