File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ const Menu = React.createClass({
82
82
- ` xlight ` - extra light blur type
83
83
- ` light ` - light blur type
84
84
- ` dark ` - dark blur type
85
- - ` blurAmount ` (Number) - blur amount effect
85
+ - ` blurAmount ` (Default: 10, Number) - blur amount effect
86
86
- ` 0-100 ` - Adjusts blur intensity
87
87
88
88
* Note: ` blurAmount ` does not refresh with Hot Reloading. You must a refresh the app to view the results of the changes*
Original file line number Diff line number Diff line change @@ -17,7 +17,11 @@ class BlurView extends Component {
17
17
18
18
BlurView . propTypes = {
19
19
blurType : PropTypes . string ,
20
- blurAmount : PropTypes . number ,
20
+ blurAmount : PropTypes . number . isRequired ,
21
+ } ;
22
+
23
+ BlurView . defaultProps = {
24
+ blurAmount : 10 ,
21
25
} ;
22
26
23
27
const NativeBlurView = requireNativeComponent ( 'BlurView' , BlurView ) ;
You can’t perform that action at this time.
0 commit comments