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

Add 'onPressActionButton' prop #333

Merged
merged 1 commit into from
Jan 10, 2017

Conversation

cooperka
Copy link
Collaborator

@cooperka cooperka commented Jan 9, 2017

Optional callback when the composer's Action button is pressed (the "+" icon). If this prop is provided, it will be used instead of the default method that shows an actionSheet. Therefore the action sheet won't be shown at all, and your function will be called instead.

This is nice if you have your own popup you want to use, for example react-native-image-picker.

Tested and verified on iOS and Android.

@kfiroo kfiroo merged commit 270de9b into FaridSafi:master Jan 10, 2017
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.

2 participants