-
Notifications
You must be signed in to change notification settings - Fork 200
feature: added scroll and tabWidth props #325
base: master
Are you sure you want to change the base?
Conversation
cc @satya164 |
@@ -33,6 +33,8 @@ type SlidingTabItem = { | |||
}; | |||
|
|||
type Props = { | |||
scrollEnabled?: boolean, |
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.
I think better to name it as tabBarScrollEnabled
or something since you're passing it to TabNavigator. Any suggestions for a better name @brentvatne ?
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.
sounds like a good name to me!
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.
@JohnClema can update the PR to use this name instead?
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.
@satya164 made the changes - let me know if you think there should be any more
Looks good to me. |
@satya164 @brentvatne will I need to put this into a separate branch for it to be merged? |
Adds the ability to have scrollable tabs and to change the width of tabs