2015-03-23 22:07:33 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
2018-02-17 02:24:55 +00:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-03-23 22:07:33 +00:00
|
|
|
*/
|
2015-01-30 01:10:49 +00:00
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
2016-11-23 15:47:52 +00:00
|
|
|
|
|
|
|
#import <React/RCTResizeMode.h>
|
2015-01-30 01:10:49 +00:00
|
|
|
|
2015-07-15 20:17:13 +00:00
|
|
|
@class RCTBridge;
|
2015-12-08 11:29:08 +00:00
|
|
|
@class RCTImageSource;
|
2015-07-15 20:17:13 +00:00
|
|
|
|
2016-05-31 17:18:37 +00:00
|
|
|
@interface RCTImageView : UIImageView
|
2015-07-15 20:17:13 +00:00
|
|
|
|
|
|
|
- (instancetype)initWithBridge:(RCTBridge *)bridge NS_DESIGNATED_INITIALIZER;
|
2015-01-30 01:10:49 +00:00
|
|
|
|
|
|
|
@property (nonatomic, assign) UIEdgeInsets capInsets;
|
2015-07-15 20:17:13 +00:00
|
|
|
@property (nonatomic, strong) UIImage *defaultImage;
|
2015-01-30 01:10:49 +00:00
|
|
|
@property (nonatomic, assign) UIImageRenderingMode renderingMode;
|
2016-08-23 18:26:35 +00:00
|
|
|
@property (nonatomic, copy) NSArray<RCTImageSource *> *imageSources;
|
2016-03-17 19:25:07 +00:00
|
|
|
@property (nonatomic, assign) CGFloat blurRadius;
|
2016-06-22 11:13:22 +00:00
|
|
|
@property (nonatomic, assign) RCTResizeMode resizeMode;
|
2015-01-30 01:10:49 +00:00
|
|
|
|
|
|
|
@end
|