From 7e58e2cbf6910a6b34e932e6494b2fb8ed6bf466 Mon Sep 17 00:00:00 2001 From: Patrice Vignola Date: Fri, 13 Apr 2018 19:59:06 -0700 Subject: [PATCH] Remove duplicate prop definition Summary: - This is most likely a merge issue? - hasTVPreferredFocus was duplicated in the Flow types definition for the Button component, but the PropTypes are fine Removing a duplicated prop can't really throw a Flow error. Anyway, I removed the duplicated prop and successfully ran `$ yarn flow` None [GENERAL] [ENHANCEMENT] [Button] - Remove duplicate prop definition Closes https://github.com/facebook/react-native/pull/18845 Differential Revision: D7627621 Pulled By: mdvacca fbshipit-source-id: 924522641a334212f5e2c1310d81da1e321f19b1 --- Libraries/Components/Button.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Libraries/Components/Button.js b/Libraries/Components/Button.js index 4370f3571..51ca2aa63 100644 --- a/Libraries/Components/Button.js +++ b/Libraries/Components/Button.js @@ -57,7 +57,6 @@ class Button extends React.Component<{ accessibilityLabel?: ?string, disabled?: ?boolean, testID?: ?string, - hasTVPreferredFocus?: ?boolean, }> { static propTypes = { /**