2015-03-24 01:07:33 +03:00
|
|
|
/**
|
2018-09-12 01:27:47 +03:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2015-03-24 01:07:33 +03:00
|
|
|
*
|
2018-02-17 05:24:55 +03: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-24 01:07:33 +03:00
|
|
|
*/
|
2015-01-30 04:10:49 +03:00
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
2019-04-16 20:57:37 +03:00
|
|
|
#import <React/RCTView.h>
|
2016-11-23 18:47:52 +03:00
|
|
|
#import <React/RCTResizeMode.h>
|
2015-01-30 04:10:49 +03:00
|
|
|
|
2015-07-15 23:17:13 +03:00
|
|
|
@class RCTBridge;
|
2015-12-08 14:29:08 +03:00
|
|
|
@class RCTImageSource;
|
2015-07-15 23:17:13 +03:00
|
|
|
|
2019-04-16 20:57:37 +03:00
|
|
|
@interface RCTImageView : RCTView
|
2015-07-15 23:17:13 +03:00
|
|
|
|
|
|
|
- (instancetype)initWithBridge:(RCTBridge *)bridge NS_DESIGNATED_INITIALIZER;
|
2015-01-30 04:10:49 +03:00
|
|
|
|
|
|
|
@property (nonatomic, assign) UIEdgeInsets capInsets;
|
2015-07-15 23:17:13 +03:00
|
|
|
@property (nonatomic, strong) UIImage *defaultImage;
|
2015-01-30 04:10:49 +03:00
|
|
|
@property (nonatomic, assign) UIImageRenderingMode renderingMode;
|
2016-08-23 21:26:35 +03:00
|
|
|
@property (nonatomic, copy) NSArray<RCTImageSource *> *imageSources;
|
2016-03-17 22:25:07 +03:00
|
|
|
@property (nonatomic, assign) CGFloat blurRadius;
|
2016-06-22 14:13:22 +03:00
|
|
|
@property (nonatomic, assign) RCTResizeMode resizeMode;
|
2015-01-30 04:10:49 +03:00
|
|
|
|
|
|
|
@end
|