react-native-macos/React/Views/RCTProgressView.h

27 строки
690 B
Objective-C

/**
* 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.
*/
// TODO(macOS ISS#2323203)
#import <React/RCTComponent.h>
#import <React/RCTUIKit.h>
#if !TARGET_OS_OSX
@interface RCTProgressView : UIProgressView
#else
@interface RCTProgressView : NSProgressIndicator
#endif
#if TARGET_OS_OSX
@property (nonatomic, strong, nullable) RCTUIColor *progressTintColor;
@property (nonatomic, strong, nullable) RCTUIColor *trackTintColor;
@property(nonatomic, strong, nullable) UIImage *progressImage;
@property(nonatomic, strong, nullable) UIImage *trackImage;
#endif
@end