Open majidln opened 7 years ago
hello thank's for this library
I use this function call in my code for open drawer: <Icon name={this.props.iconDefault} size={this.props.size} style={{color: this.props.tintColor}} onPress={() => this.context.drawer.open()} />
<Icon name={this.props.iconDefault} size={this.props.size} style={{color: this.props.tintColor}} onPress={() => this.context.drawer.open()} />
static contextTypes = {drawer: React.PropTypes.object}
this code open drawer on ios but it didn't work on android
please help me
any idea?
Same here...
Well, in my case i've replaced the this.context.drawer.open() with openDrawer() and passed that function to my view.
this.context.drawer.open()
openDrawer()
hello thank's for this library
I use this function call in my code for open drawer:
<Icon name={this.props.iconDefault} size={this.props.size} style={{color: this.props.tintColor}} onPress={() => this.context.drawer.open()} />
static contextTypes = {drawer: React.PropTypes.object}
this code open drawer on ios but it didn't work on android
please help me