-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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 initialSelectedIndex property to Tabs #389
Conversation
Fixes mui#375. Also checks whether the index is not out of bounds w.r.t. the amount of tab children.
@WRidder Can you please also add PropType validation as well?
Also, please add the prop to the docs here: Thanks! |
Alright, updated proptype validation. I also added the proptype validation for tabWidth since it was specified in the docs already. Added initialSelectedIndex to the docs as well. |
Add initialSelectedIndex property to Tabs
Thanks @WRidder 👍 |
Uf thanks for this one, very convenient specially for routing when sending a direct link to somebody. Any idea when this will be released? |
Hopefully we can get v0.7.2 ironed out by Wednesday at the latest. |
Fixes #375. Also checks whether the index is not out of bounds w.r.t. the amount of tab children.