mirror of
https://github.com/zhigang1992/react-native-blur.git
synced 2026-04-28 20:25:34 +08:00
Add missing ref property (#251)
This is necessary to make setNativeProps work.
This commit is contained in:
@@ -12,6 +12,7 @@ class BlurView extends Component {
|
||||
render() {
|
||||
return (
|
||||
<NativeBlurView
|
||||
ref={e => this._root = e}
|
||||
{...this.props}
|
||||
style={[
|
||||
{ backgroundColor: 'transparent' },
|
||||
|
||||
Reference in New Issue
Block a user