react-native-blur/ios/VibrancyViewManager.m
Nathan Broadbent 10858e396b Fixed all the issues with iOS, and allow individual blurAmounts (instead of one shared value.)
Also changed VibrancyView to be a subclass of BlurView.
2017-04-17 22:23:10 +07:00

17 lines
277 B
Objective-C

#import "VibrancyViewManager.h"
#import "VibrancyView.h"
@implementation VibrancyViewManager
RCT_EXPORT_MODULE();
- (UIView *)view
{
return [[VibrancyView alloc] init];
}
RCT_EXPORT_VIEW_PROPERTY(blurType, NSString);
RCT_EXPORT_VIEW_PROPERTY(blurAmount, NSNumber);
@end