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

[UIExplorer] Update SegmentedControlIOSExample.js #1453

Closed
wants to merge 1 commit into from
Closed

[UIExplorer] Update SegmentedControlIOSExample.js #1453

wants to merge 1 commit into from

Conversation

donghanji
Copy link

for event.nativeEvent ,the selectedIndex,can't work.
issues is here:
#1310

@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!

</Text>
<SegmentedControlIOS
values={this.state.values}
selectedIndex={this.state.selectedIndex}
selectedSegmentIndex={this.state.selectedSegmentIndex}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strangely enough, the prop name is actually segmentedIndex. Maybe we should change this so it is consistent on both ends.

RCTSegmentedControl
SegmentedControlIOS

@brentvatne brentvatne self-assigned this May 30, 2015
@brentvatne brentvatne changed the title Update SegmentedControlIOSExample.js [UIExplorer] Update SegmentedControlIOSExample.js Jun 1, 2015
@satya164
Copy link
Contributor

Any updates on this?

@facebook-github-bot
Copy link
Contributor

@donghanji updated the pull request.

mganandraj pushed a commit to mganandraj/react-native that referenced this pull request Dec 6, 2022
…names

[0.68-stable] A couple of renames to make Dynamic Type features more proper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants