mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Use commands from JS in RefreshControl instead of setNativeProps
Summary: Changelog: [Internal] RefreshControl uses commands instead of setNativeProps Reviewed By: TheSavior Differential Revision: D18475794 fbshipit-source-id: fbfe3fcfa465c821d673bf9a9666c989ba4f9545
This commit is contained in:
committed by
Facebook Github Bot
parent
2237ea6d2e
commit
9c27ccd7d0
@@ -61,4 +61,5 @@ export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({
|
||||
|
||||
export default (codegenNativeComponent<NativeProps>('PullToRefreshView', {
|
||||
paperComponentName: 'RCTRefreshControl',
|
||||
excludedPlatform: 'android',
|
||||
}): HostComponent<NativeProps>);
|
||||
|
||||
Reference in New Issue
Block a user