We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b91507 commit 63bdc08Copy full SHA for 63bdc08
Example/Main.js
@@ -34,6 +34,11 @@ export default class main extends Component {
34
</TouchableOpacity>
35
);
36
}
37
+ renderImage(props) {
38
+ return (
39
+ <Image style={props.imageStyle} source={{ uri: props.imageSrc }} />
40
+ );
41
+ }
42
render() {
43
return (
44
<View style={styles.container}>
@@ -48,6 +53,8 @@ export default class main extends Component {
48
53
onClose={data => this.handleClose(data)}
49
54
onCancel={data => this.handleCancel(data)}
50
55
imageSrc={'https://facebook.github.io/react-native/docs/assets/favicon.png'}
56
+ renderImage={(props) => this.renderImage(props)}
57
+ renderCancel={(props) => this.renderImage(props)}
51
58
/>
52
59
</View>
60
0 commit comments