Change flow types of RefreshControl.size prop

Summary:
This diff changes the flow types of RefreshControl.size prop from 'int' to string'. For more context see previous diff of the stack.
This diff will be landed as soon as the native release containing D25933458 (https://github.com/facebook/react-native/commit/65975dd28de0a7b8b8c4eef6479bf7eee5fcfb93) goes to production.

It's important to clarify that there are currently no usages of this prop in production

Changelog: [Android][Changed] - RefreshControl.size prop changed its type to string, the valid values are: 'default' and 'large'

Reviewed By: JoshuaGross

Differential Revision: D25933457

fbshipit-source-id: 2f34566f2f8a097e6d40f63c09ecb3ada2fd8409
This commit is contained in:
David Vacca
2021-01-25 21:05:56 -08:00
committed by Facebook GitHub Bot
parent 5792c32e36
commit dd60414578
2 changed files with 3 additions and 20 deletions
@@ -41,7 +41,7 @@ type NativeProps = $ReadOnly<{|
*/
progressBackgroundColor?: ?ColorValue,
/**
* Size of the refresh indicator, see RefreshControl.SIZE.
* Size of the refresh indicator.
*/
size?: WithDefault<'default' | 'large', 'default'>,
/**