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

Add nested TabList and TabPanel support #184

Merged
merged 3 commits into from
Jun 13, 2017
Merged

Add nested TabList and TabPanel support #184

merged 3 commits into from
Jun 13, 2017

Conversation

danez
Copy link
Collaborator

@danez danez commented Jun 9, 2017

This is the fixed version of #180.

I created two specialized functions to deeply map and forEach react children. This functions will only call the callback for the react-tabs elements and also not go deeper when it reaches the first Tab or TabPanel.

This also already allows custom elements inside TabList, although it does not yet make sense as TabList is rendered as <ul> and Tab as <li>, but I want to change this so that there is an option to change the tag type maybe.

@McPo If you have time could you take a look and tell me if that looks good? And/Or maybe test with your usecase?

@danez danez merged commit 430ed30 into master Jun 13, 2017
@danez danez deleted the McPo-nested-tablist branch June 13, 2017 08:29
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants