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 d84c0f8 commit b52a74fCopy full SHA for b52a74f
index.js
@@ -16,7 +16,7 @@ var ActionModal = React.createClass({
16
<View style={styles.modalContainer}>
17
<TouchableOpacity style={styles.container} onPress={this.props.onCancel}></TouchableOpacity>
18
{this.props.children}
19
- <Button onPress={this.props.onCancel} text={"Cancel"} />
+ <Button onPress={this.props.onCancel} text={this.props.buttonText || "Cancel"} />
20
</View>
21
</Modal>
22
</FadeInView>
0 commit comments