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(tabs): do not put title element attribute for tab component #1070

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

MartinWeb
Copy link
Contributor

Related issue

Some refactoring led us to a breaking change. This pull request aims to rollback that modification inside the tab component. Without it, the consumer that already uses the tab component with the title attribute could not do it anymore if they were passing a reactNode to the title.

For the future, those components needs to be refactored :
for example, i came accross the Title component that has an enable property that is never used by the component who call them. As that component cannot be used directly by the consumer, we should remove that corresponding code or find a way to make it work.

@MartinWeb MartinWeb merged commit 413f1ad into AxaFrance:master Oct 12, 2023
@MartinWeb MartinWeb added this to the v2.1.0 milestone Oct 12, 2023
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.

3 participants