You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
518 B
26 lines
518 B
#import "RNCSafeAreaViewManager.h"
|
|
|
|
#import "RNCSafeAreaShadowView.h"
|
|
#import "RNCSafeAreaView.h"
|
|
#import "RNCSafeAreaViewEdges.h"
|
|
#import "RNCSafeAreaViewMode.h"
|
|
|
|
@implementation RNCSafeAreaViewManager
|
|
|
|
RCT_EXPORT_MODULE(RNCSafeAreaView)
|
|
|
|
- (UIView *)view
|
|
{
|
|
return [[RNCSafeAreaView alloc] initWithBridge:self.bridge];
|
|
}
|
|
|
|
- (RNCSafeAreaShadowView *)shadowView
|
|
{
|
|
return [RNCSafeAreaShadowView new];
|
|
}
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(mode, RNCSafeAreaViewMode)
|
|
RCT_EXPORT_VIEW_PROPERTY(edges, RNCSafeAreaViewEdges)
|
|
|
|
@end
|