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

Enhancement for redux support? #159

Closed
andrewmtam opened this issue Apr 6, 2017 · 1 comment
Closed

Enhancement for redux support? #159

andrewmtam opened this issue Apr 6, 2017 · 1 comment

Comments

@andrewmtam
Copy link

Any chance we can update things to work with redux?

Currently the onClick events will always update the internal active state, and passing the initial 'selectedIndex' prop is only used for the initial render.

Would it be possible to make 'selectedIndex' drive the whole tab system? We could use hooks for onClick and onKeyUp to do something ( e.g. dispatch actions ) to pass a new value for 'selectedIndex'?

@andrewmtam
Copy link
Author

Sorry, this is a duplicate:

#80

Closing out.

@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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant