-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
[FlowCleanup] Replace DeprecatedViewPropTypes.style for ViewStyleProp on IntegrationTestHarnessTest and InputAccessoryView #21397
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.
Looks good!
But while we're in this file, would you like to also make the flow types better?
}; | ||
type Props = $ReadOnly<{| | ||
shouldThrow?: boolean, | ||
waitOneFrame?: 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.
type Props = $ReadOnly<{|
shouldThrow?: ?boolean,
waitOneFrame?: ?boolean,
|}>
+children: React.Node, | ||
/** | ||
* An ID which is used to associate this `InputAccessoryView` to | ||
* specified TextInput(s). | ||
*/ | ||
nativeID?: string, | ||
style?: DeprecatedViewPropTypes.style, | ||
style?: ViewStyleProp, |
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.
type Props = $ReadOnly<{|
+children: React.Node,
nativeID?: ?string,
style?: ?ViewStyleProp,
backgroundColor?: ?DeprecatedColorPropType
...
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.
Oops. Forgot to request changes.
Fixed, thanks for you feedback |
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.
Awesome, thanks! :)
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.
RSNara has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
…nTestHarnessTest and InputAccessoryView (facebook#21397) Summary: related facebook#21342 Pull Request resolved: facebook#21397 Reviewed By: TheSavior Differential Revision: D10119623 Pulled By: RSNara fbshipit-source-id: 16bdb3d5bf90c24b597bbc12fc416a50a0aa2bb1
related #21342
Test Plan:
Release Notes:
[GENERAL] [ENHANCEMENT] [InputAccessoryView.js] Replace DeprecatedViewPropTypes.style for ViewStyleProp
[GENERAL] [ENHANCEMENT] [IntegrationTestHarnessTest.js] Replace PropTypes