We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here: https://github.com/GeekyAnts/NativeBase/blob/master/src/basic/CardItem.js#L8-L28
class CardItem extends Component { render() { if (this.props.button) { return ( <TouchableOpacity ref={c => (this._root = c)} {...this.props} activeOpacity={this.props.button ? 0.2 : 1} > {this.props.children} </TouchableOpacity> ); } else { return ( <View ref={c => (this._root = c)} {...this.props}> {this.props.children} </View> ); } } }
When button is specified, you hardcode the activeOpacity to 0.2. Can this be changed so that activeOpacity can be overridden?
button
activeOpacity
0.2
The text was updated successfully, but these errors were encountered:
Enhancement for issue #1453.
3558cec
Added activeOpacity props for CardItem.
Merge pull request #1454 from GeekyAnts/enhancement/cardItem/activeOp…
07e5ed9
…acityProps Enhancement for issue #1453. Added activeOpacity prop for CardItem.
Fixed with 2.3.6
Sorry, something went wrong.
No branches or pull requests
Here: https://github.com/GeekyAnts/NativeBase/blob/master/src/basic/CardItem.js#L8-L28
When
button
is specified, you hardcode theactiveOpacity
to0.2
. Can this be changed so thatactiveOpacity
can be overridden?The text was updated successfully, but these errors were encountered: