mirror of
https://github.com/status-im/react-native-blur.git
synced 2025-01-13 18:14:20 +00:00
2fcc595bc3
* build(deps): update react-native * feat: codegen setup for BlurView component * feat: add basic Fabric component for BlurView (iOS) * feat(iOS): implement updateProps Fabric method * feat(iOS): migrate VibrancyView * feat(Android): add code for new and old architecture * chore: update dependencies and example app * fix(iOS): interface VibrancyViewComponentView * refactor: separate codegen specs by platform * refactor: rename Android component file to avoid a bug in Codegen * refactor: delete/rename files * refactor: conditionally include Fabric code in the original views * refactor: remove unnecessary code in build.gradle
18 lines
332 B
Plaintext
18 lines
332 B
Plaintext
#import "BlurViewManager.h"
|
|
#import "BlurView.h"
|
|
|
|
@implementation BlurViewManager
|
|
|
|
RCT_EXPORT_MODULE();
|
|
|
|
- (UIView *)view
|
|
{
|
|
return [[BlurView alloc] init];
|
|
}
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(blurType, NSString);
|
|
RCT_EXPORT_VIEW_PROPERTY(blurAmount, NSNumber);
|
|
RCT_EXPORT_VIEW_PROPERTY(reducedTransparencyFallbackColor, UIColor);
|
|
|
|
@end
|