-
Notifications
You must be signed in to change notification settings - Fork 90
feat: Add support for images #101
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
feat: Add support for images #101
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.
@andresain123 Awesome! Thank you so much!
Any plans to add Expo support for images? @andresain123 @Naturalclar |
I need @expo/vector-icons support too! @andresain123 @Naturalclar |
@sergey-king to be honest I don't know how Expo handles the native libraries, but I think they have to update their internal version of the segmented control to 2.1.0+ in order for you to have support on the new features. @yingtao-futurewonder I'll see what I can do to support individual react components on the segmented control values. |
Hey, thanks for this feature! @andresain123 Looks like it must be problematic with modern version of iOS? ![]() |
Overview
This Pull Request adds support for images inside segmented controls.
An example of how it works:
<SegmentedControl values={['One', 'Two', require('../assets/images/user.png')]} />
Fixes: #71
Test Plan
The example app is updated with this new functionality
Some previews:

