RCTImageView.h 782 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. #import <UIKit/UIKit.h>
  8. #import <React/RCTView.h>
  9. #import <React/RCTResizeMode.h>
  10. @class RCTBridge;
  11. @class RCTImageSource;
  12. @interface RCTImageView : RCTView
  13. - (instancetype)initWithBridge:(RCTBridge *)bridge NS_DESIGNATED_INITIALIZER;
  14. @property (nonatomic, assign) UIEdgeInsets capInsets;
  15. @property (nonatomic, strong) UIImage *defaultImage;
  16. @property (nonatomic, assign) UIImageRenderingMode renderingMode;
  17. @property (nonatomic, copy) NSArray<RCTImageSource *> *imageSources;
  18. @property (nonatomic, assign) CGFloat blurRadius;
  19. @property (nonatomic, assign) RCTResizeMode resizeMode;
  20. @end