Permalink
Browse files

Fix error in flow types

Summary:
Previously type Options had excludeActivityTypes property, but in RCTActionSheetManager.m and docs this property is named excludedActivityTypes.

<!--
Thank you for sending the PR! We appreciate you spending the time to work on these changes.

Help us understand your motivation by explaining why you decided to make this change.

You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html

Happy contributing!

-->

Want to fix error in flow types

Actually, it seems there aren't any need for test plan for this PR. Just fix a mistyping error.
Closes #15881

Differential Revision: D5813539

Pulled By: ericnakagawa

fbshipit-source-id: 7d1269d4c177f920869bf6554f14af6db7a741ee
  • Loading branch information...
anta-semenov authored and facebook-github-bot committed Sep 12, 2017
1 parent 12eb04b commit 0c5b3901781f145d77dc627fddb54bc88fd8afab
Showing with 1 addition and 1 deletion.
  1. +1 −1 Libraries/Share/Share.js
View
@@ -22,7 +22,7 @@ const {
} = require('NativeModules');
type Content = { title?: string, message: string } | { title?: string, url: string };
type Options = { dialogTitle?: string, excludeActivityTypes?: Array<string>, tintColor?: string };
type Options = { dialogTitle?: string, excludedActivityTypes?: Array<string>, tintColor?: string };
class Share {

0 comments on commit 0c5b390

Please sign in to comment.