-
Notifications
You must be signed in to change notification settings - Fork 2
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(tab):generic id type added to TabItem #223
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tatata96 I asked a small change, but we can also discuss if that makes sense or not 😸
Also, I noticed that in 12-Tab.stories
we are not providing the initialState
in a Record
type, so that it gives a type error.
Therefore, I think we can update the initialState
on line 39 like this:
<StateProvider initialState={{index: 0}}>
and update the other places we use that state.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Related Issue;
id
#172