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

[Fix] ExpanderGroup conditional props #777

Merged
merged 2 commits into from
Sep 26, 2023
Merged

Conversation

Riippi
Copy link
Collaborator

@Riippi Riippi commented Sep 14, 2023

Description

Make the props conditional so that openAllText and closeAllText become optional when showToggleAllButton is set to false.

Related Issue

https://jira.dvv.fi/browse/SFIDS-882

Motivation and Context

ExpanderGroup had openAllText and closeAllText as mandatory props even when showToggleAllButton is set to false. This PR makes it more user friendly for developers.

How Has This Been Tested?

Styleguidist

Release notes

ExpanderGroup

  • openAllText and closeAllText are optional when showToggleAllButton is set to false

@Riippi Riippi added the enhancement New feature or request label Sep 14, 2023
@Riippi Riippi self-assigned this Sep 14, 2023
@Riippi Riippi force-pushed the fix/expandergroup-button-names branch 2 times, most recently from 2671176 to 415d22f Compare September 26, 2023 08:58
@Riippi Riippi force-pushed the fix/expandergroup-button-names branch from 415d22f to c501a1b Compare September 26, 2023 09:05
@Riippi Riippi merged commit 594fb4c into develop Sep 26, 2023
@Riippi Riippi deleted the fix/expandergroup-button-names branch September 26, 2023 12:35
@riitasointi riitasointi mentioned this pull request Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants