Files
Fluxup_PAP/node_modules/react-native/React/Views/RefreshControl/RCTRefreshControl.h
2026-03-10 16:18:05 +00:00

25 lines
692 B
Objective-C

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <UIKit/UIKit.h>
#ifndef RCT_REMOVE_LEGACY_ARCH
#import <React/RCTComponent.h>
#import <React/RCTScrollableProtocol.h>
__attribute__((deprecated("This API will be removed along with the legacy architecture.")))
@interface RCTRefreshControl : UIRefreshControl<RCTCustomRefreshControlProtocol>
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) RCTDirectEventBlock onRefresh;
@property (nonatomic, weak) UIScrollView *scrollView;
@end
#endif // RCT_REMOVE_LEGACY_ARCH