31 lines
1.0 KiB
C
Raw Permalink Normal View History

2017-04-13 00:13:44 -04:00
#import <UIKit/UIKit.h>
#import <SDWebImage/UIImageView+WebCache.h>
2017-04-28 11:06:10 -04:00
#import <SDWebImage/SDWebImageDownloader.h>
2018-04-24 20:25:22 -04:00
// Import from the FLAnimated image CocoaPod if it's available.
#if __has_include(<FLAnimatedImage/FLAnimatedImageView.h>)
2017-11-29 23:23:46 -05:00
#import <FLAnimatedImage/FLAnimatedImageView.h>
2018-04-24 20:25:22 -04:00
// Import from the version within SDWebImage otherwise.
#elif __has_include(<SDWebImage/FLAnimatedImageView.h>)
#import <SDWebImage/FLAnimatedImageView.h>
#endif
2017-04-13 00:13:44 -04:00
#import <React/RCTComponent.h>
#import <React/RCTResizeMode.h>
#import "FFFastImageSource.h"
@interface FFFastImageView : FLAnimatedImageView
2017-04-13 00:13:44 -04:00
@property (nonatomic, copy) RCTDirectEventBlock onFastImageLoadStart;
@property (nonatomic, copy) RCTDirectEventBlock onFastImageProgress;
2017-07-03 21:58:24 -04:00
@property (nonatomic, copy) RCTDirectEventBlock onFastImageError;
@property (nonatomic, copy) RCTDirectEventBlock onFastImageLoad;
@property (nonatomic, copy) RCTDirectEventBlock onFastImageLoadEnd;
2017-07-03 21:58:24 -04:00
@property (nonatomic, assign) RCTResizeMode resizeMode;
@property (nonatomic, strong) FFFastImageSource *source;
2017-04-13 00:13:44 -04:00
@end
2017-07-03 21:58:24 -04:00