Skip to content

Commit 34c673e

Browse files
committed
Added blurAmount to defaultProps
1 parent 0ce1afb commit 34c673e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/BlurView.ios.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ class BlurView extends Component {
1717

1818
BlurView.propTypes = {
1919
blurType: PropTypes.string,
20-
blurAmount: PropTypes.number,
20+
blurAmount: PropTypes.number.isRequired,
21+
};
22+
23+
BlurView.defaultProps = {
24+
blurAmount: 10,
2125
};
2226

2327
const NativeBlurView = requireNativeComponent('BlurView', BlurView);

0 commit comments

Comments
 (0)