26 lines
575 B
C
Raw Normal View History

/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* 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
/**
* `UIScrollView` subclass which has some improvements and tweaks
* wich are not directly related to React.
*/
@interface RCTEnhancedScrollView : UIScrollView
@property (nonatomic, assign) BOOL pinchGestureEnabled;
@property (nonatomic, assign) BOOL centerContent;
@end
NS_ASSUME_NONNULL_END