/* * 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 #ifndef RCT_REMOVE_LEGACY_ARCH #import #import __attribute__((deprecated("This API will be removed along with the legacy architecture."))) @interface RCTRefreshControl : UIRefreshControl @property (nonatomic, copy) NSString *title; @property (nonatomic, copy) RCTDirectEventBlock onRefresh; @property (nonatomic, weak) UIScrollView *scrollView; @end #endif // RCT_REMOVE_LEGACY_ARCH