()
| 5 | |
| 6 | class Button extends PureComponent { |
| 7 | render() { |
| 8 | const { style } = this.props; |
| 9 | const { underlayColor, ...otherStyle } = style; |
| 10 | |
| 11 | return ( |
| 12 | <TouchableOpacity |
| 13 | {...this.props} |
| 14 | style={otherStyle} |
| 15 | underlayColor={underlayColor} |
| 16 | /> |
| 17 | ); |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | Button.propTypes = { |
nothing calls this directly
no outgoing calls
no test coverage detected