File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
RCTFXBlurView/RCTFXBlurView Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ class FXBlurView extends Component {
22
22
FXBlurView . propTypes = {
23
23
blurRadius : React . PropTypes . number ,
24
24
blurEnabled : React . PropTypes . bool ,
25
+ dynamic : React . PropTypes . bool ,
25
26
} ;
26
27
27
28
const FXBlurViewNative = requireNativeComponent ( 'RCTFXBlurView' , FXBlurView ) ;
Original file line number Diff line number Diff line change @@ -56,4 +56,11 @@ - (void)setBlurEnabled:(BOOL)blurEnabled
56
56
[self layoutSubviews ];
57
57
}
58
58
59
+ - (void )setDynamic : (BOOL )dynamic
60
+ {
61
+ self.blurView .dynamic = dynamic;
62
+
63
+ [self layoutSubviews ];
64
+ }
65
+
59
66
@end
Original file line number Diff line number Diff line change @@ -23,12 +23,13 @@ - (UIView *)view
23
23
return [[RCTFXBlurView alloc ] init ];
24
24
}
25
25
26
- RCT_EXPORT_VIEW_PROPERTY (blurRadius, float )
27
- RCT_EXPORT_VIEW_PROPERTY(blurEnabled, BOOL )
26
+ RCT_EXPORT_VIEW_PROPERTY (blurRadius, float );
27
+ RCT_EXPORT_VIEW_PROPERTY (blurEnabled, BOOL );
28
+ RCT_EXPORT_VIEW_PROPERTY (dynamic, BOOL );
28
29
29
30
- (dispatch_queue_t )methodQueue
30
31
{
31
32
return dispatch_get_main_queue ();
32
33
}
33
34
34
- @end
35
+ @end
You can’t perform that action at this time.
0 commit comments