mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 09:12:02 +00:00
9cb3ec9424
Summary: This diff introduces a blur radius property to the Image component on ios. If the radius specified is greater then 0 then native will apply a blur filter to the image Reviewed By: nicklockwood Differential Revision: D3054671 fb-gh-sync-id: d7a81ce5a08a3a2091c583f5053c6a86638b21b2 shipit-source-id: d7a81ce5a08a3a2091c583f5053c6a86638b21b2
17 lines
476 B
Objective-C
17 lines
476 B
Objective-C
/*
|
|
* Copyright (c) 2013, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*
|
|
*/
|
|
|
|
#import <Accelerate/Accelerate.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import "RCTDefines.h"
|
|
|
|
RCT_EXTERN UIImage *RCTBlurredImageWithRadius(UIImage *inputImage, CGFloat radius);
|