Add missing ref property (#251)

This is necessary to make setNativeProps work.
This commit is contained in:
Hitoshi Harada 2018-01-05 01:33:40 -08:00 committed by Alexey
parent b415e7774e
commit a308f3c510
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ class BlurView extends Component {
render() { render() {
return ( return (
<NativeBlurView <NativeBlurView
ref={e => this._root = e}
{...this.props} {...this.props}
style={[ style={[
{ backgroundColor: 'transparent' }, { backgroundColor: 'transparent' },