MCPcopy Create free account
hub / github.com/shoutem/ui / render

Method render

components/Button.js:7–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6class 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
21Button.propTypes = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected