mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e8b2145263
Summary: This is implementation of standard PullToRefresh component that uses standard iOS component and modern integration approach. Reviewed By: mdvacca Differential Revision: D15403308 fbshipit-source-id: 5c877f7c18af9f5ac40e15a4ba44118614ba80bc
24 lines
615 B
Objective-C
24 lines
615 B
Objective-C
/**
|
|
* Copyright (c) Facebook, Inc. and its 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>
|
|
|
|
#import <React/RCTViewComponentView.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
/*
|
|
* UIView class for root <PullToRefreshView> component.
|
|
* This view is designed to only serve ViewController-like purpose for the actual `UIRefreshControl` view which is being
|
|
* attached to some `UIScrollView` (not to this view).
|
|
*/
|
|
@interface RNPullToRefreshViewComponentView : RCTViewComponentView
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|